updateinfo: Make the *_date fields actual Python datetime objects
authorMathieu Bridon <bochecha@fedoraproject.org>
Thu, 7 Aug 2014 16:51:24 +0000 (18:51 +0200)
committerMathieu Bridon <bochecha@fedoraproject.org>
Fri, 8 Aug 2014 16:10:41 +0000 (18:10 +0200)
commit86ce8cfd73f553eb026ff7d7ce62fb534e388bf3
tree51a63cc620f411cc4e9e031a9617a5943fa29765
parentb66177fb77234662eb34c93e0caaae8187dbb57d
updateinfo: Make the *_date fields actual Python datetime objects

One caveat is that their microseconds are always 0, simply because they
don't appear in the XML serialization.
src/python/updaterecord-py.c
tests/python/tests/test_updateinfo.py
tests/python/tests/test_updaterecord.py