Skip to main content

format_date

Function format_date 

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

Render a Date (days since epoch) as YYYY-MM-DD. Negative values for pre-1970 dates render with a leading - on the year.