Skip to content

Commit

Permalink
Updated time encoder type to rfc2229
Browse files Browse the repository at this point in the history
  • Loading branch information
ciiay committed Jul 20, 2023
1 parent 2618004 commit 799b796
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 @@ -85,7 +85,7 @@ func main() {
"Enabling this will ensure there is only one active controller manager.")
opts := zap.Options{
Development: true,
TimeEncoder: zapcore.ISO8601TimeEncoder,
TimeEncoder: zapcore.RFC3339TimeEncoder,
}
opts.BindFlags(flag.CommandLine)
flag.Parse()
Expand Down

0 comments on commit 799b796

Please sign in to comment.