serve s3: fix Last-Modified header format

This commit is contained in:
Butanediol 2024-04-14 18:34:00 +08:00 committed by Nick Craig-Wood
parent 50aa677934
commit 0c0d64c316

View file

@ -18,7 +18,7 @@ import (
var (
emptyPrefix = &gofakes3.Prefix{}
timeFormat = "Mon, 2 Jan 2006 15:04:05.999999999 GMT"
timeFormat = "Mon, 2 Jan 2006 15:04:05 GMT"
)
// s3Backend implements the gofacess3.Backend interface to make an S3