Skip to content

Conversation

@Manishearth
Copy link
Contributor

endOfMonth.Day is a valid day value, we should not be erroring for it.

@Manishearth
Copy link
Contributor Author

r? @ptomato @sffc

aarongable pushed a commit to chromium/chromium that referenced this pull request Nov 24, 2025
Uplifts unicode-org/icu4x#7257

Caused by spec bug: tc39/proposal-intl-era-monthcode#98

Change-Id: I5df814a7ef7c2c8b1e44affd34fd31d017c04b28
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7201147
Auto-Submit: Manish Goregaokar <[email protected]>
Reviewed-by: Łukasz Anforowicz <[email protected]>
Reviewed-by: Daniel Cheng <[email protected]>
Commit-Queue: Daniel Cheng <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1549444}
Copy link
Collaborator

@sffc sffc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recall thinking that this condition didn't matter for < vs <= because the resulting day is the same either way, but then I think the overflow reject got grafted in a bit later and made it matter whether < or <= is used. Thanks for the catch

Manishearth added a commit to unicode-org/icu4x that referenced this pull request Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants