]> khamidou — GitHub mirrors - imapclient.git/commit
More timezone fixes. Was broken when server was in different timezone to client.
authorMenno Smits <menno@pali>
Tue, 21 Apr 2009 21:35:45 +0000 (22:35 +0100)
committerMenno Smits <menno@pali>
Tue, 21 Apr 2009 21:35:45 +0000 (22:35 +0100)
commit9bc10a4101a2516612adb9b6b8b60b76a11ea56f
tree58b96d188ac25b0a7da897952417e351a6c1515b
parent33b2586003c7cd083c53773d598d90a8fa812b64
More timezone fixes. Was broken when server was in different timezone to client.
Lots of test updates to match.

API change: returned datetime objects are now non-timezone-aware and always in
the client system's timzone. This is friendlier to use as the returned datetimes
compare easily to other datetimes. TZ-aware datetime objects can't be directly
compared to non-TZ-aware datetime objects.

livetest.py runs cleanly against Cyrus in another timezone.
TODO
imapclient/fixed_offset.py
imapclient/imapclient.py
imapclient/test/test_FetchParser.py
imapclient/test/test_IMAPClient.py
imapclient/test/test_fixed_offset.py
livetest.py