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
H11
Hour system using 1–12; corresponds to ‘h’ in patterns
H12
Hour system using 0–23; corresponds to ‘H’ in patterns
H23
Hour system using 0–11; corresponds to ‘K’ in patterns
H24
Hour system using 1–24; corresponds to ‘k’ in pattern
The doc for H24 is correct, but the other three have a mismatch between the doc and the enum value.
Additionally, the docs should try to make an effort to minimize misuse. Specifically, the docs should say:
H24 isn't used anywhere and is not what's usually understood as the "24-hour clock".
H11 is only used in Japan.
H23 is "24-hour clock".
H12 is "12-hour clock".
The text was updated successfully, but these errors were encountered:
hsivonen
added a commit
to hsivonen/icu4x
that referenced
this issue
Jan 27, 2025
https://unicode-org.github.io/icu4x/rustdoc/icu/locale/preferences/extensions/unicode/keywords/enum.HourCycle.html says:
The doc for H24 is correct, but the other three have a mismatch between the doc and the enum value.
Additionally, the docs should try to make an effort to minimize misuse. Specifically, the docs should say:
H24 isn't used anywhere and is not what's usually understood as the "24-hour clock".
H11 is only used in Japan.
H23 is "24-hour clock".
H12 is "12-hour clock".
The text was updated successfully, but these errors were encountered: