field_names += [field_maps[f]['pg_field_name']]
if field_maps[f]['pg_type'] == 'int':
values[field_maps[f]['pg_field_name']] = int(report.find(fp).text)
- elif field_maps[f]['pg_type'] == 'timestamp':
+ elif field_maps[f]['pg_type'] == 'timestamptz':
# values[field_maps[f]['pg_field_name']] = datetime.datetime.utcfromtimestamp(int(report.find(fp).text))
values[field_maps[f]['pg_field_name']] = \
datetime.datetime.fromtimestamp(int(report.find(fp).text),