You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
zap-time-encoding help text still says the default is 'epoch' #3634
Since #2029, the zap logger defaults to RFC3339 timestamps (o.TimeEncoder = zapcore.RFC3339TimeEncoder in pkg/log/zap/zap.go). The --zap-time-encoding flag help and the BindFlags doc comment still say "Defaults to 'epoch'", though.
I ran into this with an operator built on v0.24.1. Its --help says "Defaults to 'epoch'.", but with the flag unset the logs come out as 2026-10-31T17:23:56-07:00.
Both strings just need to say 'rfc3339'. I'm happy to send a PR for it.
Activity