[offlineimap] sending internal date with incorrect timezone (#186)
Michael Hoy
notifications at github.com
Wed Apr 8 19:55:20 BST 2015
Testing against v6.5.7-rc4 still does not work.
I believe I've narrowed down the problem to https://github.com/OfflineIMAP/offlineimap/blob/next/offlineimap/folder/IMAP.py#L492
The check against `datetuple.tm_isdst` always fails; it should be checking against the integer 1, not the string '1'. The python documentation seems to specify this as well: https://docs.python.org/2/library/time.html#time.struct_time
This fixed the problem for me:
https://github.com/mjhoy/offlineimap/commit/9baef00a0b02c46aaf3110a246eb366adb51f375
I can send a pull request if you'd like.
---
Reply to this email directly or view it on GitHub:
https://github.com/OfflineIMAP/offlineimap/issues/186#issuecomment-91003458
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20150408/dbd626c7/attachment-0002.html>
More information about the OfflineIMAP-project
mailing list