1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 18:15:06 +00:00
serenity/Meta/Lagom/Tools/CodeGenerators/LibUnicode
Timothy Flynn 287d43f4be LibUnicode: Hard-code an alias from the Gregorian calendar to Gregory
This alias exists because the name "Gregorian" is too long to be used in
a locale identifier, i.e. "en-u-ca-gregorian" is invalid. Aliases for
calendars are defined here:
https://github.com/unicode-org/cldr-json/blob/main/cldr-json/cldr-bcp47/bcp47/calendar.json

However, CLDR version 40 neglected to actually include the cldr-bcp47
package in its release, so we don't have access to this data. So for now
hard-code this alias so that JavaScript can actually access it. See:
https://unicode-org.atlassian.net/browse/CLDR-15158
2021-11-29 22:48:46 +00:00
..
CMakeLists.txt LibUnicode: Create a nearly empty generator for date-time formatting 2021-11-29 22:48:46 +00:00
GenerateUnicodeData.cpp LibUnicode: Port GenerateUnicodeData to ErrorOr and LibMain 2021-11-23 22:58:05 +01:00
GenerateUnicodeDateTimeFormat.cpp LibUnicode: Hard-code an alias from the Gregorian calendar to Gregory 2021-11-29 22:48:46 +00:00
GenerateUnicodeLocale.cpp LibUnicode: Port generator utility methods to ErrorOr 2021-11-23 22:58:05 +01:00
GenerateUnicodeNumberFormat.cpp LibJS+LibUnicode: Separate number formatting methods from Locale.h 2021-11-29 22:48:46 +00:00
GeneratorUtil.h LibUnicode: Parse and generate date, time, and date-time format patterns 2021-11-29 22:48:46 +00:00