Skip to content

Commit

Permalink
Fix timeFormat for x-amz-date, two-digit day of month as per RFC 7231
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro Rinaldi committed Sep 1, 2022
1 parent 829d8e5 commit e8ac47e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/v2signer.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var (
const (
signatureVersion = "2"
signatureMethod = "HmacSHA1"
timeFormat = "Mon, 2 Jan 2006 15:04:05 +0000"
timeFormat = "Mon, 02 Jan 2006 15:04:05 +0000"
)

var subresources = []string{
Expand Down

0 comments on commit e8ac47e

Please sign in to comment.