mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 12:07:14 +02:00
LibUnicode: Extract the timeSeparator numeric symbol from CLDR
This will be used by Intl.DurationFormat
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 09:48:04 +09:00
Author: https://github.com/IdanHo Commit: https://github.com/SerenityOS/serenity/commit/573061e76c Pull-request: https://github.com/SerenityOS/serenity/pull/14437 Reviewed-by: https://github.com/linusg ✅
@@ -523,6 +523,8 @@ static ErrorOr<void> parse_number_systems(String locale_numbers_path, UnicodeLoc
|
||||
return Unicode::NumericSymbol::PercentSign;
|
||||
if (numeric_symbol == "plusSign"sv)
|
||||
return Unicode::NumericSymbol::PlusSign;
|
||||
if (numeric_symbol == "timeSeparator"sv)
|
||||
return Unicode::NumericSymbol::TimeSeparator;
|
||||
return {};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user