-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
fix(common): The date pipe should return ISO format for week and week… #53879
Conversation
33edad8
to
61db1f3
Compare
Caretaker: this should get a TGP :) |
Caretaker note: this PR still requires TGP, it's not yet ready for merge. |
It looks like there's a few legitimate failing targets. Adding |
61db1f3
to
d1c0c95
Compare
…-year as intended in the unit test. ISO 8601 defines * Monday as the first day of the week. * week 01 is the week with the first Thursday Therefore: Sunday Dec 31st 2023 is the last day of the last week of the year : W52 2023.
d1c0c95
to
6af256d
Compare
This PR was merged into the repository by commit 122213d. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
… year as intended in the unit tests.
This commit makes adds the mention to the doc that it is intended to return a ISO week/week-year (as opposed to a locale based wee/week-year).
ISO 8601 defines
Therefore:
Sunday Dec 31st 2023 is the last day of the last week of the year : W52 2023.
Fixes: #53813