Fixed date format for S3 bucket listing

This commit is contained in:
Chuck Thier 2011-09-01 15:48:53 +00:00
parent 44c14c1de4
commit eb707547f5

View File

@ -267,7 +267,7 @@ class BucketController(Controller):
'true' if len(objects) == (max_keys + 1) else 'false',
max_keys,
xml_escape(self.container_name),
"".join(['<Contents><Key>%s</Key><LastModified>%s</LastModif'\
"".join(['<Contents><Key>%s</Key><LastModified>%sZ</LastModif'\
'ied><ETag>%s</ETag><Size>%s</Size><StorageClass>STA'\
'NDARD</StorageClass></Contents>' %
(xml_escape(i['name']), i['last_modified'], i['hash'],