Skip to main content

format_date

Function format_date 

Source
fn format_date(days: i64) -> String
Expand description

Formats days since the epoch as a proleptic Gregorian YYYY-MM-DD date. Years outside 0..=9999 are signed, as in ISO 8601 and chrono’s %Y.