Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #53 from nodes-vapor/year-format-fix
Browse files Browse the repository at this point in the history
Year format fix
  • Loading branch information
BrettRToomey committed Jan 2, 2019
2 parents 35d3428 + 989b475 commit 640d18e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Storage/Utilities/S3.swift
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public struct AWSSignatureV4 {
var amzDate: String {
let dateFormatter = DateFormatter()
dateFormatter.timeZone = TimeZone(secondsFromGMT: 0)
dateFormatter.dateFormat = "YYYYMMdd'T'HHmmss'Z'"
dateFormatter.dateFormat = "yyyyMMdd'T'HHmmss'Z'"
return dateFormatter.string(from: unitTestDate ?? Date())
}

Expand Down

0 comments on commit 640d18e

Please sign in to comment.