Skip to content

Commit

Permalink
Change log time format to ISO8601
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuckal777 committed Oct 17, 2022
1 parent 2c7ce7d commit 06a8d28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func main() {
"Maximum delay between SIGTERM and actual shutdown to scrape metrics one last time.")
opts := zap.Options{
Development: true,
TimeEncoder: zapcore.RFC3339TimeEncoder,
TimeEncoder: zapcore.ISO8601TimeEncoder,
}
opts.BindFlags(flag.CommandLine)
flag.Parse()
Expand Down

0 comments on commit 06a8d28

Please sign in to comment.