pub fn format_date(value: Option<&str>) -> StringExpand description
Parse an RFC3339 string, convert to local time, format as YYYY-MM-DD.
Returns "" for None or an unparseable value (parity with the JS
new Date(value) + ymd, which is local-timezone).