You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I checked the formula,
This is the current one that calculates wrong ceil(($this->getDayOfWeek() + $this->day) / 7);
I think you can use this that I suggest: floor(($this->day + 7 - $this->getDayOfWeek()) / 7) + 1
Hi,
Thank you for this powerful package you made.
I try to use weekOfMonth method for a specific date, but I found there is a mistake in the formula that calculates that.
The text was updated successfully, but these errors were encountered: