Revision 499163b4
b/pithos/api/util.py | ||
---|---|---|
88 | 88 |
Format 'last_modified' timestamp. |
89 | 89 |
""" |
90 | 90 |
|
91 |
d['last_modified'] = isoformat(datetime.fromtimestamp(int(d['last_modified'])))
|
|
91 |
d['last_modified'] = isoformat(datetime.fromtimestamp(d['last_modified']))
|
|
92 | 92 |
return dict([(k.lower().replace('-', '_'), v) for k, v in d.iteritems()]) |
93 | 93 |
|
94 | 94 |
def format_header_key(k): |
Also available in: Unified diff