parse_date

Function parse_date 

Source
pub fn parse_date(date_str: &str) -> Result<NaiveDate, ParseError>
Expand description

Parse a date string in YYYY-MM-DD format

ยงErrors

Returns chrono::ParseError if the date string is not in the expected format