"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
jottacloud: fix incorrect modtime after setting a file's modtime
Nick Craig-Woodfc87735f8001
diff --git a/backend/jottacloud/jottacloud.go b/backend/jottacloud/jottacloud.goindex d482668ed..aad41a422 100644--- a/backend/jottacloud/jottacloud.go+++ b/backend/jottacloud/jottacloud.go@@ -1876,8 +1876,10 @@ func (o *Object) SetModTime(ctx context.Context, modTime time.Time) error {return err}- // update local metadata- o.modTime = modTime+ // update local metadata - the server stores modtimes with second+ // precision so truncate here too to keep the in-memory modtime+ // identical to the one a fresh listing returns+ o.modTime = modTime.Truncate(time.Second)return nil}