2 points · by sadusdtp · 2y ago · 7 comments
https://i.postimg.cc/3WwZ4xX1/temp-Image-Ylv1s5.jpg
> Broadcast calendar years can have either 52 or 53 weeks. A broadcast calendar will have 53 weeks in a leap year where January 1 falls on a Saturday or Sunday, or in a common year where January 1 falls on a Sunday. In the 21st century, 53-week broadcast calendar years are 2006, 2012, 2017, 2023, 2028, 2034, 2040, 2045, 2051, 2056, 2062, 2068, 2073, 2079, 2084, 2090, and 2096.
> The long years, with 53 weeks in them, can be described by any of the following equivalent definitions:
> any year starting on Thursday (dominical letter D or DC) and any leap year starting on Wednesday (ED)
> any year ending on Thursday (D, ED) and any leap year ending on Friday (DC)
> years in which 1 January or 31 December are Thursdays
> All other week-numbering years are short years and have 52 weeks.
None of those 53 week conditions describe 2023, so ISO says 2023 has 52 weeks.
But the first of January 2023 was a Sunday; according to the ISO standard it was part of the 52nd week of 2022.
The problem is that we really like to display calendars as Sunday through Saturday, but the ISO standard considers Thursday to be the all-important day of the week.
This Mac calendar behavior would be a bug (probably) if it was claiming that the week number it was displaying was the ISO 8601 week number; I'm not even sure how you could possibly find a way to print a single week number per week in a Sunday-through-Saturday calendar according to ISO 8601. That's just not the use case.
7 * 52 = 364
And the first of January isn't always a Monday, or Sunday (or whatever you consider the first day of the week).