diff --git a/components/datetime/examples/timezone_picker.rs b/components/datetime/examples/timezone_picker.rs index c9dc5d33d6a..a1c043fde8e 100644 --- a/components/datetime/examples/timezone_picker.rs +++ b/components/datetime/examples/timezone_picker.rs @@ -19,7 +19,8 @@ fn main() { NoCalendarFormatter::try_new(prefs, fieldsets::zone::LocalizedOffsetLong).unwrap(); let non_location_formatter = NoCalendarFormatter::try_new(prefs, fieldsets::zone::GenericLong).unwrap(); - let city_formatter = NoCalendarFormatter::try_new(prefs, fieldsets::zone::ExemplarCity).unwrap(); + let city_formatter = + NoCalendarFormatter::try_new(prefs, fieldsets::zone::ExemplarCity).unwrap(); let reference_date = (Date::try_new_iso(2025, 1, 1).unwrap(), Time::midnight()); diff --git a/components/datetime/src/neo.rs b/components/datetime/src/neo.rs index 7c56e0ba543..a37d8246660 100644 --- a/components/datetime/src/neo.rs +++ b/components/datetime/src/neo.rs @@ -929,7 +929,7 @@ impl DateTimeFormatter { } } -/// A formatter optimized for time and time zone formatting. +/// A formatter optimized for time and time zone formatting, when a calendar is not needed. /// /// # Examples ///