1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:08:12 +00:00

LibUnicode: Convert UnicodeDateTimeFormat to link with weak symbols

This commit is contained in:
Timothy Flynn 2022-01-04 11:29:42 -05:00 committed by Linus Groh
parent 98709d9be1
commit ba4cdf34f8
6 changed files with 85 additions and 167 deletions

View file

@ -789,7 +789,7 @@ Optional<StringView> get_locale_currency_mapping(StringView locale, StringView c
Vector<StringView> get_locale_key_mapping(StringView locale, StringView keyword)
{
if (keyword == "hc"sv) {
auto hour_cycles = get_regional_hour_cycles(locale);
auto hour_cycles = get_locale_hour_cycles(locale);
Vector<StringView> values;
values.ensure_capacity(hour_cycles.size());