pub fn parse_with_preference(
input: &str,
dmy_preference: bool,
) -> Result<DateTime<Utc>>Expand description
Similar to parse(), this function takes a datetime string and a boolean dmy_preference.
When dmy_preference is true, it will parse strings using the DMY format. Otherwise, it
parses them using an MDY format.