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

Fix after goamz interface change

Nick Craig-Wood717a0d268beb
diff --git a/fs_s3.go b/fs_s3.go
index 0bf93b921..ed84b3f9b 100644
--- a/fs_s3.go
+++ b/fs_s3.go
@@ -202,10 +202,9 @@ func (f *FsS3) ListDir() FsDirChan {
log.Printf("Couldn't list buckets: %s", err)
} else {
for _, bucket := range buckets {
- when, _ := time.Parse(time.RFC3339, bucket.CreationDate)
out <- &FsDir{
Name: bucket.Name,
- When: when,
+ When: bucket.CreationDate,
Bytes: -1,
Count: -1,
}