1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-13 22:07:34 +00:00
serenity/Userland/Libraries/LibJS/Tests/builtins/Intl
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
..
Collator
DateTimeFormat LibLocale: Parse day-period hour cycle preferences 2023-10-05 17:01:02 +02:00
DisplayNames
DurationFormat
ListFormat
Locale
NumberFormat LibJS: Use decimal compact patterns for currency style sub-patterns 2023-09-04 18:22:28 +02:00
PluralRules
RelativeTimeFormat
Segmenter
Intl.@@toStringTag.js
Intl.getCanonicalLocales.js
Intl.supportedValuesOf.js