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
Is your feature request related to a problem? Please describe.
I'm trying to set the calendar to ISO weeks but with the week starting on Sunday and week 1 containing Jan 4
Describe the solution you'd like
Setting the locale should be enough but it turns out that Week 1 in Jan 2026 doesn't have Jan 4
Describe alternatives you've considered
I tried formatWeeks method but it seems difficult to implement
Additional context
On material UI datepicker, setting the locale as { weekStartsOn: 0, firstWeekContainsDate: 4 } works to have Jan 4 in week 1 and OK with having a week 53 to maintain the rule:
In react-datepicker it forces it to stop at week 52:
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I'm trying to set the calendar to ISO weeks but with the week starting on Sunday and week 1 containing Jan 4
Describe the solution you'd like
Setting the locale should be enough but it turns out that Week 1 in Jan 2026 doesn't have Jan 4
Describe alternatives you've considered
I tried formatWeeks method but it seems difficult to implement
Additional context
On material UI datepicker, setting the locale as { weekStartsOn: 0, firstWeekContainsDate: 4 } works to have Jan 4 in week 1 and OK with having a week 53 to maintain the rule:
In react-datepicker it forces it to stop at week 52:
The text was updated successfully, but these errors were encountered: