diff options
author | Timothy Flynn <trflynn89@pm.me> | 2022-01-12 08:16:21 -0500 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-01-12 15:43:12 +0100 |
commit | bdf02c21e15946213640be7a43e322bfa1a79f53 (patch) | |
tree | 89251bf3827fa1be9f2fcaf4492d17a825bbd70d /Meta/Lagom/Tools | |
parent | 8a4ac9c387c9b2cca61ea3b2384dda8b1f7d93e6 (diff) | |
download | serenity-bdf02c21e15946213640be7a43e322bfa1a79f53.zip |
LibUnicode: Swap the preferred order of standard time zone display names
Our generator is currently preferring the DST variant of the time zone
display names over the non-DST variant. LibTimeZone currently does not
have DST support, and operates in a mode that basically assumes DST does
not exist. Swap the display names for now just to be consistent until we
have DST support.
Note we will need to generate both of these variants and select the
appropriate one at runtime once we have DST support.
Diffstat (limited to 'Meta/Lagom/Tools')
-rw-r--r-- | Meta/Lagom/Tools/CodeGenerators/LibUnicode/GenerateUnicodeDateTimeFormat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/Lagom/Tools/CodeGenerators/LibUnicode/GenerateUnicodeDateTimeFormat.cpp b/Meta/Lagom/Tools/CodeGenerators/LibUnicode/GenerateUnicodeDateTimeFormat.cpp index bf1b33424c..07b7b1c320 100644 --- a/Meta/Lagom/Tools/CodeGenerators/LibUnicode/GenerateUnicodeDateTimeFormat.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/LibUnicode/GenerateUnicodeDateTimeFormat.cpp @@ -1468,7 +1468,7 @@ static ErrorOr<void> parse_time_zone_names(String locale_time_zone_names_path, U time_zone_formats.gmt_zero_format = locale_data.unique_strings.ensure(gmt_zero_format_string.as_string()); auto parse_time_zone = [&](StringView meta_zone, JsonObject const& meta_zone_object) { - constexpr auto standard_keys = Array { "daylight"sv, "standard"sv }; + constexpr auto standard_keys = Array { "standard"sv, "daylight"sv }; constexpr auto generic_keys = Array { "generic"sv }; auto golden_zones = locale_data.meta_zones.find(meta_zone); |