pub fn parse_date(s: &str, fmt: &str) -> Result<Date, ParseError>Expand description
Parses a calendar date with a strftime pattern.
Matches chrono’s NaiveDate::parse_from_str for every unsigned year
(a differential test compared 17.7 million inputs); a leading + or -
on the year is rejected, where chrono accepted some signed forms.