Add zone to the ISO from unix time

This commit is contained in:
Bo Maryniuk 2016-01-13 17:02:13 +01:00
parent d352c08305
commit 9ac52c9123

View file

@ -490,7 +490,7 @@ def info(*packages, **attr):
try:
value = int(value)
pkg_data['{0}_time_t'.format(key)] = value
value = datetime.datetime.fromtimestamp(value).isoformat()
value = datetime.datetime.fromtimestamp(value).isoformat() + "Z"
except ValueError:
log.warning('Could not convert "{0}" into Unix time'.format(value))
continue