Skip to main content

parse_date

Function parse_date 

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

Parses YYYY-MM-DD or the (case-insensitive) keyword today into a date.

The shared parser behind every command’s --date argument.