The current code for setting the last-modified metadata attribute uses toIsoString() on a Javascript date which is not RFC-3339 compliant (the format is Thu, 20 Apr 2023 15:31:00 GMT which is based on RFC-7231).
This means that trying to use fake-S3 with V3 of the AWS SDK fails when trying to read objects with an error of:
In V3 of the AWS SDK they have added validation to ensure that the LastModified attribute on an object is RFC-3339 compliant when performing operations such as GetObject or ListObjects.
The current code for setting the last-modified metadata attribute uses toIsoString() on a Javascript date which is not RFC-3339 compliant (the format is Thu, 20 Apr 2023 15:31:00 GMT which is based on RFC-7231).
This means that trying to use fake-S3 with V3 of the AWS SDK fails when trying to read objects with an error of:
Are there any plans to support V3 of the AWS SDK?