Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
0.8.7
-
None
-
None
Description
RFC 5322 (Internet Message Format) states that ABNF according to RFC 5234 (Augmented BNF for Syntax Specifications: ABNF) is used for the formal definitions of the syntax of messages. RFC 5234 states the following: "ABNF strings are case insensitive and the character set for these strings is US-ASCII."
That means day-name ("Mon", "Tue", …) and month ("Jan", "Feb", …) need to be parsed case-insensitive.
DateTimeParser doesn't do this and so something like WED, 10 AUG 2022 20:00:00 +0200 fails to parse.