Comment 14 for bug 2028019

Revision history for this message
Kovid Goyal (kovid) wrote :

Incidentally in iso8601.py changing

local_tz = SafeLocalTimeZone()

to

local_tz = datetime.now().astimezone().tzinfo

fixes the difference between pre and post 1970 dates, which seems to be
an artifact of the tzlocal object from python-dateutil on windows.