Skip to content

Commit

Permalink
Merge pull request #182 from jamhall/n1ru4l-patch-1
Browse files Browse the repository at this point in the history
Correctly format date
  • Loading branch information
n1ru4l committed Mar 13, 2018
2 parents 84187d2 + b887fb0 commit 1e152e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/xml-template-builder.js
Expand Up @@ -44,7 +44,7 @@ exports.buildBucketQuery = function(options, data) {
...data.objects.map(object => ({
Contents: {
Key: object.key,
LastModified: object.metadata["last-modified"],
LastModified: object.lastModifiedDate.toISOString(),
ETag: object.metadata["etag"],
Size: object.size,
StorageClass: "STANDARD",
Expand Down

0 comments on commit 1e152e2

Please sign in to comment.