Skip to content

Commit

Permalink
Fix the docs for HourCycle (#6038)
Browse files Browse the repository at this point in the history
Fixes #6030
  • Loading branch information
hsivonen authored Jan 28, 2025
1 parent 2508e6b commit 9920677
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ enum_keyword!(
///
/// The valid values are listed in [LDML](https://unicode.org/reports/tr35/#UnicodeHourCycleIdentifier).
HourCycle {
/// Hour system using 1–12; corresponds to 'h' in patterns
("h11" => H11),
/// Hour system using 0–23; corresponds to 'H' in patterns
/// The typical 12-hour clock. Hour system using 1–12; corresponds to 'h' in patterns.
("h12" => H12),
/// Hour system using 0–11; corresponds to 'K' in patterns
/// The 24-hour clock. Hour system using 0–23; corresponds to 'H' in patterns.
("h23" => H23),
/// Hour system using 1–24; corresponds to 'k' in pattern
/// Variant of the 12-hour clock only used in Japan. Hour system using 0–11; corresponds to 'K' in patterns.
("h11" => H11),
/// __Not actually in use!__ See `H23` above for the 24-hour clock! Included for theoretical completeness. Hour system using 1–24; corresponds to 'k' in pattern.
("h24" => H24),
}, "hc");

0 comments on commit 9920677

Please sign in to comment.