Skip to content

Commit

Permalink
Fix date format UTC to GMT
Browse files Browse the repository at this point in the history
  • Loading branch information
juunini committed Oct 29, 2023
1 parent 9201397 commit f00b8fd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions date.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package signature_header

import "time"
import (
"time"
)

func Date() string {
return time.Now().In(time.UTC).Format(time.RFC1123)
return time.Now().In(time.FixedZone("GMT", 0)).Format(time.RFC1123)
}

0 comments on commit f00b8fd

Please sign in to comment.