GothenburgBitFactory / bugwarrior

Pull github, bitbucket, and trac issues into taskwarrior
http://pypi.python.org/pypi/bugwarrior
GNU General Public License v3.0
739 stars 210 forks source link

bz: Unify datetime handling #993

Closed khardix closed 1 year ago

khardix commented 1 year ago

Depending on whether the data comes from XMLRPC or REST API, the timestamps are in different format.

This change puts the datetime conversion into dedicated function, enhancing it with support for multiple source types. See docstring for details.

Fixes: ralphbean/bugwarrior#878

khardix commented 1 year ago

Removed as requested :)