Merge branch 'mjhoy-fix-dst' into next

This commit is contained in:
Nicolas Sebrecht 2015-04-09 01:50:51 +02:00
commit 223a7d0f7f

View File

@ -489,7 +489,7 @@ class IMAPFolder(BaseFolder):
# tm_isdst coming from email.parsedate is not usable, we still use it # tm_isdst coming from email.parsedate is not usable, we still use it
# here, mhh. # here, mhh.
if datetuple.tm_isdst == '1': if datetuple.tm_isdst == 1:
zone = -time.altzone zone = -time.altzone
else: else:
zone = -time.timezone zone = -time.timezone