# HG changeset patch # User Goffi # Date 1509120533 -7200 # Node ID acfc481629ac246c3dc2acc1013872c934e49083 # Parent 3ff9d7a7fe7113d2d8db8c91acec6dd023b71d33 plugin tickets import bugzilla: fixed parsing of "created" and "updated" fields diff -r 3ff9d7a7fe71 -r acfc481629ac src/plugins/plugin_tickets_import_bugzilla.py --- a/src/plugins/plugin_tickets_import_bugzilla.py Fri Oct 27 18:06:58 2017 +0200 +++ b/src/plugins/plugin_tickets_import_bugzilla.py Fri Oct 27 18:08:53 2017 +0200 @@ -68,8 +68,8 @@ for bug in root.xpath('bug'): ticket = {} ticket['id'] = bug.findtext('bug_id') - ticket['creation'] = bug.findtext('creation_ts') - ticket['update'] = bug.findtext('delta_ts') + ticket['created'] = utils.date_parse(bug.findtext('creation_ts')) + ticket['updated'] = utils.date_parse(bug.findtext('delta_ts')) ticket['title'] = bug.findtext('short_desc') reporter_elt = bug.find('reporter') ticket['reporter'] = reporter_elt.get('name')