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
We are using the week picker and if we select week 52 in 2024 it work as expected. Then we select the week after which should be week 1 2025 but instead the picker returns week 1 2024.
To Reproduce
Steps to reproduce the behavior:
Enable week picker
Go to jan 2025 and choose week 1
Week 1 2024 is returned.
Expected behavior
Should return week 1 2025
Screenshots
The text was updated successfully, but these errors were encountered:
From Wikipedia: Weeks start with Monday and end on Sunday. Each week's year is the Gregorian year in which the Thursday falls. The first week of the year, hence, always contains 4 January. ISO week therefore usually deviates by 1 from the Gregorian for some days close to 1 January. […] If 1 January is on a Monday, Tuesday, Wednesday or Thursday, it is in W01. If it is on a Friday, it is part of W53 of the previous year. If it is on a Saturday, it is part of the last week of the previous year which is numbered W52 in a common year and W53 in a leap year. If it is on a Sunday, it is part of W52 of the previous year.
Week picker select wrong year for week 1
We are using the week picker and if we select week 52 in 2024 it work as expected. Then we select the week after which should be week 1 2025 but instead the picker returns week 1 2024.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should return week 1 2025
Screenshots
The text was updated successfully, but these errors were encountered: