dateparser icon indicating copy to clipboard operation
dateparser copied to clipboard

Can't parse "Thu 30 May 2024 10:13:10 -0500 (CDT)"

Open pmodin opened this issue 1 year ago • 0 comments

I came across a string that unfortunately doesn't parse. I get the same result in markusmobius/go-dateparser (where I first encountered it).

>>> import dateparser                                                                                                                                                                                                 
>>> dateparser.parse("Thu 30 May 2024 10:13:10 -0500 (CDT)") == None
True

For context it's from an email header (Date: Thu, 30 May 2024 10:13:10 -0500 (CDT)) from what I think is sent via JavaMail (now Jakarta Mail).

pmodin avatar May 30 '24 17:05 pmodin