Browse Source

return last modified in UTC

pull/1363/head
Rinat Shigapov 5 years ago
parent
commit
320d70d305
  1. 2
      weed/s3api/s3api_objects_list_handlers.go

2
weed/s3api/s3api_objects_list_handlers.go

@ -138,7 +138,7 @@ func (s3a *S3ApiServer) listFilerEntries(bucket, originalPrefix string, maxKeys
} else {
contents = append(contents, ListEntry{
Key: fmt.Sprintf("%s%s", dir, entry.Name),
LastModified: time.Unix(entry.Attributes.Mtime, 0),
LastModified: time.Unix(entry.Attributes.Mtime, 0).UTC(),
ETag: "\"" + filer2.ETag(entry) + "\"",
Size: int64(filer2.TotalSize(entry.Chunks)),
Owner: CanonicalUser{

Loading…
Cancel
Save