Function build_data::format_date

source ·
pub fn format_date(epoch: i64) -> String
Expand description

Formats the epoch timestamp as a UTC date like "2021-05-04Z".

Panics when epoch is negative.