bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: parse-datetime.y - Military Timezones are inverted from the correct


From: Paul Eggert
Subject: Re: parse-datetime.y - Military Timezones are inverted from the correct sense
Date: Fri, 9 Aug 2019 14:01:35 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

Thanks for mentioning this problem. The military timezone indicators (other than "Z") were purposely done backwards in 1999, to be compatible with Internet RFC 822 which also had them backwards and which was the standard for email at the time. RFC 5322, which is RFC 822's current version, says that because of the error these timezone indicators should all be treated as equivalent to "Z" now. So coreutils should be changed, either to follow the RFC 5322 recommendation, or to be compatible with traditional military use. The latter would make more sense since it is somewhat useful behavior and the RFC 5322 requirement is merely a SHOULD, not a MUST.

Since the RFC 822 error was fixed in 2001 when RFC 2822 came out, it is long past time to fix parse-datetime.y accordingly, so I installed the attached patch into Gnulib.

Attachment: 0001-parse-datetime-fix-military-timezone-letters.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]