This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients akira, belopolsky, koobs, martin.panter, python-dev, stub, tim.peters, vstinner
Date 2016-07-26.01:01:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The remaining failures all seems to be related to the Morocco rules: both Africa/El_Aaiun [1] and Africa/Casablanca [2] use those rules.

The affected date is October 4, 2037, for which Morocco has a special rule. [3]

It looks like the problem is with the system date/time library.  The 2037 transition is specified in the tzfile as POSIX time 2138234400 and system date utility produced a value different from that of IANA's date [4]:

$ TZ=/usr/share/zoneinfo/Africa/El_Aaiun date -d @2138234400
Sun Oct  4 03:00:00 WEST 2037
$ TZ=/usr/share/zoneinfo/Africa/El_Aaiun ./date -r 2138234400
Sun Oct  4 02:00:00 WET 2037

Date User Action Args
2016-07-26 01:01:28belopolskysetrecipients: + belopolsky, tim.peters, vstinner, stub, akira, python-dev, martin.panter, koobs
2016-07-26 01:01:28belopolskysetmessageid: <>
2016-07-26 01:01:28belopolskylinkissue24773 messages
2016-07-26 01:01:27belopolskycreate