-
Notifications
You must be signed in to change notification settings - Fork 175
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
Failing debug_assert when formatting week_of_year #4977
Comments
iyzana
added a commit
to iyzana/icu4x
that referenced
this issue
Jun 1, 2024
iyzana
added a commit
to iyzana/icu4x
that referenced
this issue
Jun 1, 2024
robertbastian
pushed a commit
that referenced
this issue
Jun 4, 2024
The assert was probably meant to ensure the complete year has at least 14 days, and not that the given day is at least the 14th day of the year Fixes: #4977
Merged
sffc
added a commit
that referenced
this issue
Jun 4, 2024
sffc
pushed a commit
that referenced
this issue
Jun 6, 2024
sffc
added a commit
that referenced
this issue
Jun 6, 2024
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Formatting the first 13 days of the year fails when including the week_of_year.
Steps to reproduce
Run the following code in debug-mode (i.e.
cargo run
without --release)Expected behaviour
The formatter formats the date to "1"
Actual behaviour
The program panics on
format_to_string
Versions
The text was updated successfully, but these errors were encountered: