anatoly techtonik <techto...@gmail.com> added the comment: Updated Python code according to discussion from aforementioned issue #7582. Unfortunately, I can't find Python source for `time` module to make a proper patch out of it.
def time.utcoffset(): """Return current UTC offset in seconds""" isdst = time.localtime().tm_isdst if (time.daylight and isdst): return -time.altzone else: return -time.timezone ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7662> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com