From adf95bdebe7e48e2eeec487c79db61c9bed160bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Cm=C3=BCt=20=C3=96zalp?= <54961032+uozalp@users.noreply.github.com> Date: Sat, 3 May 2025 15:50:13 +0200 Subject: [PATCH] fix: update time format in logging to 24-hour format (#3296) * fix: update time format in logging to 24-hour format * fix: update time format in logging to use time.TimeOnly * fix: update logging time format to RFC3339 --- cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/root.go b/cmd/root.go index 793d7cc1..89760ba6 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -104,7 +104,7 @@ func run(*cobra.Command, []string) error { slog.SetDefault(slog.New(tint.NewHandler(logFile, &tint.Options{ Level: parseLevel(*k9sFlags.LogLevel), - TimeFormat: time.Kitchen, + TimeFormat: time.RFC3339, }))) cfg, err := loadConfiguration()