Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

serve s3: fix Last-Modified header format

Butanediol0c0d64c3164c
diff --git a/cmd/serve/s3/backend.go b/cmd/serve/s3/backend.go
index ef5aa57f6..10f6e7742 100644
--- a/cmd/serve/s3/backend.go
+++ b/cmd/serve/s3/backend.go
@@ -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