]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
#665194: Update email.utils.localtime to use astimezone, and fix bug.
authorR David Murray <rdmurray@bitdance.com>
Thu, 23 Aug 2012 01:34:00 +0000 (21:34 -0400)
committerR David Murray <rdmurray@bitdance.com>
Thu, 23 Aug 2012 01:34:00 +0000 (21:34 -0400)
commitb8687df6532b809f41d77dfc617363d3c093ec88
tree48e09484522d82be90843fe16584126f41a63116
parent17183a2972e8981c0d0ca2d599b6e08fc662fc28
#665194: Update email.utils.localtime to use astimezone, and fix bug.

The new code correctly handles historic changes in UTC offsets.
A test for this should follow.

Original patch by Alexander Belopolsky.
Lib/email/utils.py
Lib/test/test_email/test_utils.py
Misc/NEWS