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
When executing getWeekOfMonth(new Date(2019, 4, 5), { weekStartsOn: 1 }) it returns me 2 while I expect it to be 1.
It seems getWeekOfMonth() is always a week off when executed with a day set to Sunday and options.weekStartsOn set to > 0.
The text was updated successfully, but these errors were encountered:
When executing
getWeekOfMonth(new Date(2019, 4, 5), { weekStartsOn: 1 })
it returns me2
while I expect it to be1
.It seems
getWeekOfMonth()
is always a week off when executed with a day set to Sunday andoptions.weekStartsOn
set to > 0.The text was updated successfully, but these errors were encountered: