Bad bucket creation date for S3
Closed this issue · 2 comments
racciari commented
We need to handle the CreationDate of buckets for S3 compatibility.
The creation date is stuck to 2009-02-03T16:45:09.000Z
.
As described here, it is a creation date, not a modification time.
aws --endpoint-url http://192.168.1.49:6007 --no-verify-ssl s3api list-buckets
{
"Buckets": [
{
"Name": "bucket",
"CreationDate": "2009-02-03T16:45:09.000Z"
},
{
"Name": "bucket1",
"CreationDate": "2009-02-03T16:45:09.000Z"
},
{
"Name": "bucket2",
"CreationDate": "2009-02-03T16:45:09.000Z"
},
{
"Name": "bucket3",
"CreationDate": "2009-02-03T16:45:09.000Z"
}
],
"Owner": {
"DisplayName": "demo:demo",
"ID": "demo:demo"
}
}
fvennetier commented
Notice that s3_acl
and check_bucket_owner
have to be enabled for the actual creation date to be returned.
racciari commented
Tested with the latest release to date, it works.
Thanks.