Skip to main content

normalize_date

Function normalize_date 

Source
pub fn normalize_date(raw: &str) -> Option<String>
Expand description

Sortable YYYY-MM-DD[THH:MM:SS] from common date spellings: ISO 8601 / RFC 3339 (offset ignored), YYYY/MM/DD, US M/D/YYYY [h:mm[:ss] [AM|PM]], and Unix epoch seconds or milliseconds. None when unrecognized.