format_timestamp

Function format_timestamp 

Source
pub fn format_timestamp(sec: i64) -> String
Expand description

Formats an epoch timestamp in seconds to “YYYY-MM-DD HH:MM” in UTC.

Note: Results may not be quite correct as it seems there is currently no Rust library that fully implements leap seconds.