fn format_date(ts: Option<i64>) -> String
Format a unix timestamp as YYYY-MM-DD without external crate dependencies.
YYYY-MM-DD