Panics · P02 Typography: Link takes its handler, an unknown zone reads as UTC and says so, a long highlight query logs
This commit is contained in:
1 parent
e5166e9e26
commit
f46cc4e7c3
11 files changed
+132
-60
No files matched your search
@@ -28,7 +28,7 @@ pub use time::{DateTimePicker, DurationPicker, TimePicker};
|
||||
pub use week::WeekPicker;
|
||||
pub use zone::TimezoneSelect;
|
||||
|
||||
/// The system's clock in its own zone. An unknown zone stops here, not in UTC.
|
||||
/// The system's clock in its own zone, UTC when that zone is unknown.
|
||||
pub(crate) fn zoned_now() -> Zoned {
|
||||
Timestamp::now().to_zoned(system_zone("date pickers"))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user