Userland: Move files destined for LibLocale to the Locale namespace

This commit is contained in:
Timothy Flynn
2022-09-02 12:01:10 -04:00
committed by Tim Flynn
parent 88504b89e1
commit ff48220dca
Notes: sideshowbarker 2024-07-17 07:30:06 +09:00
55 changed files with 720 additions and 716 deletions

View File

@@ -125,11 +125,11 @@ void TimeZoneSettingsWidget::set_time_zone_location()
{
m_time_zone_location = compute_time_zone_location();
auto locale = Unicode::default_locale();
auto locale = Locale::default_locale();
auto now = AK::Time::now_realtime();
auto name = Unicode::format_time_zone(locale, m_time_zone, Unicode::CalendarPatternStyle::Long, now);
auto offset = Unicode::format_time_zone(locale, m_time_zone, Unicode::CalendarPatternStyle::LongOffset, now);
auto name = Locale::format_time_zone(locale, m_time_zone, Locale::CalendarPatternStyle::Long, now);
auto offset = Locale::format_time_zone(locale, m_time_zone, Locale::CalendarPatternStyle::LongOffset, now);
m_time_zone_text = String::formatted("{}\n({})", name, offset);
}