search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Week numbers at 2021 -> 2022 transition

Asked by David
2 years ago.

Hi,

Noticed as we move from 2021 to 2022 the week numbers are not what I was expecting.

52 -- 53 -- 02 -- 03

Bug? This site - set to the US with Sunday week start - calls it week 1 - https://www.timeanddate.com/calendar/custom.html?country=1&;wno=1&moon=on&hol=25

If its not considered an issue - I am aware I can use the renderer to make it whatever I want it to be,

Thanks,
David

Answer posted by Dan Letecky [DayPilot]
2 years ago.

Hi David,

At this moment, the week number is calculated from the first date of the week. That results in week #53 for the transitional week.

It's not always possible to provide a default behavior that satisfies everyone so we always try to provide a customization option.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.