Skip to main content

format_local_time

Function format_local_time 

Source
pub fn format_local_time(unix_secs: u64) -> String
Expand description

Format a unix-epoch seconds value as a readable local-timezone string with an ISO-style offset, suitable for operator-facing output.

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