mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add zone to the ISO from unix time
This commit is contained in:
parent
d352c08305
commit
9ac52c9123
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue