Skip to main content

show_short

Function show_short 

Source
pub fn show_short(at: Timestamp, local: &TimeZone) -> String
Expand description

A moment in short form, where space matters: UTC, then the local zone’s offset from UTC at that moment, e.g. 2026-01-01 00:00Z (local:+1h), 2026-10-15 01:00Z (local:-4h), 2026-10-15 03:00Z (local:+5h30m); no offset part when it is zero.