1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-30 22:28:12 +00:00
serenity/Meta/Lagom/Tools/CodeGenerators/LibLocale
Timothy Flynn eeb16f03bb LibLocale: Parse day-period hour cycle preferences
For example, the locale "fr-FR" will have the preferred hour cycle list
of "H hB", meaning h23 and h12-with-day-periods. Whether date-times are
actually formatted with day-periods is up to the user, but we need to
parse the hour cycle as h12 to know that the FR region supports h12.

This bug was revealed by LibJS no longer blindly falling back to h12 (if
the `hour12` option is true) or h24 (if the `hour12` option is false).
2023-10-05 17:01:02 +02:00
..
CMakeLists.txt LibUnicode: Move CLDR data generators to a LibLocale subfolder 2022-09-05 14:37:16 -04:00
GenerateDateTimeFormatData.cpp LibLocale: Parse day-period hour cycle preferences 2023-10-05 17:01:02 +02:00
GenerateLocaleData.cpp LibLocale+LibJS+ClockSettings: Make date time format APIs infallible 2023-08-23 05:29:21 +02:00
GenerateNumberFormatData.cpp LibLocale: Remove compact currency patterns 2023-09-04 18:22:28 +02:00
GeneratePluralRulesData.cpp LibLocale: Avoid unnecessary HashMap copy 2023-05-19 22:33:57 +02:00
GenerateRelativeTimeFormatData.cpp LibLocale+LibJS: Make relative time format APIs infallible 2023-08-23 05:29:21 +02:00