-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
minimalDays #86
Comments
could you include the CLDR ticket here? |
From https://unicode-org.atlassian.net/browse/CLDR-17095 this seems a non issue |
Have been waiting for confirmation from the Google Calendar team for a while. |
https://unicode.org/reports/tr35/tr35-dates.html#Week_Data In order for a week to count as the first week of a new year for week-of-year calculations, the week beginning with firstDay must include at least the number of days in the new year specified by the minDays value; otherwise the week will count as the last week of the previous year (and for week-of-month calculations, minDays also specifies the minimum number of days in the new month for a week to count as part of that month). Therefore, minDays is used to calcuate two information:
Now, why do we care which week is in which year or month? Use case 1: AIDS Awareness WeekAIDS Awareness Week is last week in November, when extra effort is made to raise AIDS awareness. The "the last week in November" is therefore the week before "the first week in December" which depends on minDays. Use case 2 National Map Reading Weekhttps://en.wikipedia.org/wiki/National_Map_Reading_Week "the third week of October." is therefore two week after "the first week of October" which depends on minDays. Use case 3: OCD Awareness WeekOCD Awareness Week ... takes place in the second week of October each year "the second week of October" is therefore the week after "the first week of October" which depends on minDays. Use case 4: World Immunization WeekWorld Immunization Week is a global public health campaign to raise awareness and increase rates of immunization against vaccine-preventable diseases around the world. It takes place each year during the last week of April https://en.wikipedia.org/wiki/World_Immunization_Week |
the value is different per locale, not just calendar
Therefore, "the Xth week of Month Y" could be a different week between US and UK. |
So the first week of November 2024 |
There were some potential concerns raised in the CLDR Design WG regarding
minimalDays
. Do we want to hold it back from Intl Locale Info?@macchiati @markusicu @FrankYFTang
The text was updated successfully, but these errors were encountered: