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
Week-of-year requires plurals support. Plurals are mostly supported in the data model already, so this should not require a breaking change.
The following fixture tests were going to be deleted in #5640, and they should be covered by this issue:
{
"description": "Date time example that includes a week-of for a locale with plural variants as well as one with non default WeekData",
"input": {
"locale": "en",
"value": "2016-04-17T08:25:07.000+05:00",
"options": {
"components": {
"year": "numeric",
"week": "numeric-week-of-year",
"hour": "two-digit",
"minute": "two-digit",
"second": "two-digit",
"time_zone_name": "offset"
}
}
},
"output": {
"values": {
"en": "week 17 of 2016, 08:25:07 GMT+05:00",
"en-AU": "week 16 of 2016, 08:25:07 GMT+05:00",
"en-GB": "week 15 of 2016, 08:25:07 GMT+05:00",
"fil": "linggo 17 ng 2016, 08:25:07 GMT+05:00",
"en-ZA": "week 17 of 2016, 08:25:07 GMT+05:00"
}
}
}
The text was updated successfully, but these errors were encountered:
Previously, week-of-year was handled internally in the datetime formatter. However, in the semantic skeleton world and with flexible input types, I would rather move the week number calculations out into the input type. For example, I would rather have something such as
Week-of-year should be added to semantic skeletons, both in CLDR and in ICU4X.
Previous issue: #488
Week-of-year requires plurals support. Plurals are mostly supported in the data model already, so this should not require a breaking change.
The following fixture tests were going to be deleted in #5640, and they should be covered by this issue:
The text was updated successfully, but these errors were encountered: