Commit 83bcbd0a authored by Antony Chazapis's avatar Antony Chazapis

Include susecond precision in RFC8601 times returned in extended listings.

parent 7c49e107
......@@ -88,7 +88,7 @@ def printable_header_dict(d):
Format 'last_modified' timestamp.
"""
d['last_modified'] = isoformat(datetime.fromtimestamp(int(d['last_modified'])))
d['last_modified'] = isoformat(datetime.fromtimestamp(d['last_modified']))
return dict([(k.lower().replace('-', '_'), v) for k, v in d.iteritems()])
def format_header_key(k):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment