mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-26 22:38:51 +00:00
LibUnicode: Parse and generate time zone names in long and short form
This commit is contained in:
parent
2bbf8aa24c
commit
b76e44f66f
Notes:
sideshowbarker
2024-07-17 23:05:10 +09:00
Author: https://github.com/trflynn89
Commit: b76e44f66f
Pull-request: https://github.com/SerenityOS/serenity/pull/11184
4 changed files with 208 additions and 2 deletions
|
@ -176,4 +176,13 @@ Optional<StringView> get_calendar_day_period_symbol([[maybe_unused]] StringView
|
|||
#endif
|
||||
}
|
||||
|
||||
Optional<StringView> get_time_zone_name([[maybe_unused]] StringView locale, [[maybe_unused]] StringView time_zone, [[maybe_unused]] CalendarPatternStyle style)
|
||||
{
|
||||
#if ENABLE_UNICODE_DATA
|
||||
return Detail::get_time_zone_name(locale, time_zone, style);
|
||||
#else
|
||||
return {};
|
||||
#endif
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue