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.
Incidentally in iso8601.py changing
local_tz = SafeLocalTimeZone()
to
local_tz = datetime. now().astimezon e().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.