Skip to main content

format_local_datetime

Function format_local_datetime 

Source
pub fn format_local_datetime(dt: DateTime<Utc>) -> String
Expand description

Format a DateTime<Utc> (the protocol-level wire format) as a readable local-timezone string with an ISO-style offset.

Example: 2026-04-20 15:32:17 +08:00.