mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
return last modified in UTC
This commit is contained in:
parent
48880edc2c
commit
320d70d305
|
@ -138,7 +138,7 @@ func (s3a *S3ApiServer) listFilerEntries(bucket, originalPrefix string, maxKeys
|
||||||
} else {
|
} else {
|
||||||
contents = append(contents, ListEntry{
|
contents = append(contents, ListEntry{
|
||||||
Key: fmt.Sprintf("%s%s", dir, entry.Name),
|
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) + "\"",
|
ETag: "\"" + filer2.ETag(entry) + "\"",
|
||||||
Size: int64(filer2.TotalSize(entry.Chunks)),
|
Size: int64(filer2.TotalSize(entry.Chunks)),
|
||||||
Owner: CanonicalUser{
|
Owner: CanonicalUser{
|
||||||
|
|
Loading…
Reference in a new issue