Skip to main content

format_zoned

Function format_zoned 

Source
pub fn format_zoned(instant_ns: i64, zone_name: &str) -> Option<String>
Expand description

Format a UTC instant as the local wall-clock time in a named zone, with its offset — 2024-07-01T08:00:00-04:00 (the timezone-aware “relative read” of an instant). None if the zone is unknown. The space-aware/zoned generalisation of format_rfc3339.