mirror of
https://github.com/RGBCube/serenity
synced 2025-06-28 16:42:12 +00:00
LibUnicode: Remove obsolete Unicode::get_default_number_system
This has been superseded by get_preferred_keyword_value_for_locale, which doesn't require allocating a Vector just to return its first element.
This commit is contained in:
parent
c657f23e6f
commit
998f62936b
3 changed files with 1 additions and 10 deletions
|
@ -247,7 +247,7 @@ static Optional<String> format_time_zone_offset(StringView locale, CalendarPatte
|
|||
if (!formats.has_value())
|
||||
return {};
|
||||
|
||||
auto number_system = get_default_number_system(locale);
|
||||
auto number_system = get_preferred_keyword_value_for_locale(locale, "nu"sv);
|
||||
if (!number_system.has_value())
|
||||
return {};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue