pub fn parse(input: &str) -> Result<DateTime<Utc>>
Expand description

This function tries to recognize the input datetime string with a list of accepted formats. When timezone is not provided, this function assumes it’s a chrono::Local datetime. For custom timezone, use parse_with_timezone() instead.If all options are exhausted, parse() will return an error to let the caller know that no formats were matched.