You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am maintaining a podcast management tool written in Rust. When saving podcast episodes I use the date of recording of mentioned episode. Unfortunately some podcast episodes return a parse error impossible. Below code snippets errors withb a ParseError. Do you have an idea why? I checked multiple validators and they all said this is encoded in rfc2822 format.
let date_str = "Fri, 03 Jul 2014 08:00:00 +0100";let date = DateTime::parse_from_rfc2822(date_str).unwrap().with_timezone(&Utc);println!("{}", date);
The text was updated successfully, but these errors were encountered:
Thanks for the response. This explains the error pretty much. I'll split the string after the day so that I shouldn't get an error. Hopefully the author didn't invent any invalid dates :)
Hi Chrono maintainers,
I am maintaining a podcast management tool written in Rust. When saving podcast episodes I use the date of recording of mentioned episode. Unfortunately some podcast episodes return a parse error impossible. Below code snippets errors withb a ParseError. Do you have an idea why? I checked multiple validators and they all said this is encoded in rfc2822 format.
The text was updated successfully, but these errors were encountered: