Merge branch 'mjhoy-fix-dst' into next
This commit is contained in:
commit
223a7d0f7f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user