]> khamidou — GitHub mirrors - imapclient.git/commit
Use parse_to_datetime for INTERNALDATE parsing
authorMenno Smits <menno@freshfoo.com>
Mon, 29 Jun 2015 23:27:02 +0000 (11:27 +1200)
committerMenno Smits <menno@freshfoo.com>
Mon, 29 Jun 2015 23:27:02 +0000 (11:27 +1200)
commit323946b469f523d013efe1797ad3200229aad890
tree4a080bc6b5728288aebc9f8737cc2bd1b694f635
parentf4bdb2ee180fa79c83d52db3daf47cf1b5137b11
Use parse_to_datetime for INTERNALDATE parsing

The previous INTERNALDATE parsing code was horrible. The INTERNALDATE
test cases have been simplified because parse_to_datetime is already
tested elsewhere.

This is part of the fix for issue #126.
NEWS.rst
imapclient/response_parser.py
imapclient/test/test_datetime_util.py
imapclient/test/test_response_parser.py