Subject: | Can't parse time where hour is 1 digit |
All these dates fail to be parsed, but will succeed when zero prefix "0" is added to the hour. They are from production (encountered in real incoming mail headers). For quick fix on my part, I add these zero prefix myself before feeding to parse_datetime().
Tue, 19 Nov 2013 1:32:39 +0000
Tue, 19 Nov 2013 1:01:14 +0000
Tue, 19 Nov 2013 3:36:07 +0700
Tue, 19 Nov 2013 2:12:11 +0400
Regards,
Steven