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 would expect the value set by SetWeekStartsAt(carbon.Sunday) to be taken into account when calculating the day of the week. If the week starts on Sunday, Monday would be the 2nd day of the week.
I can look into the code to attempt to add this feature.
Thanks!
The text was updated successfully, but these errors were encountered:
Hello,
I encountered an issue with the following code:
golang version: 1.18
carbon version: 2.2.3
time zone: CET
I expected to get:
But I actually get:
I would expect the value set by
SetWeekStartsAt(carbon.Sunday)
to be taken into account when calculating the day of the week. If the week starts on Sunday, Monday would be the 2nd day of the week.I can look into the code to attempt to add this feature.
Thanks!
The text was updated successfully, but these errors were encountered: