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
# here, mhh.
if datetuple.tm_isdst == '1':
if datetuple.tm_isdst == 1:
zone = -time.altzone
else:
zone = -time.timezone