We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1fa704 commit 4199988Copy full SHA for 4199988
src/storage/s3.rs
@@ -121,6 +121,8 @@ impl S3Backend {
121
122
let date_updated = res
123
.last_modified
124
+ // This is a bug from AWS, it should always have a modified date of when it was created if nothing else.
125
+ // Workaround it by passing now as the modification time, since the exact time doesn't really matter.
126
.map_or(Ok(Utc::now()), |lm| parse_timespec(&lm))?;
127
128
let compression = res.content_encoding.and_then(|s| s.parse().ok());
0 commit comments