diff --git a/cmd/run.go b/cmd/run.go index 2edef974..995b2a65 100644 --- a/cmd/run.go +++ b/cmd/run.go @@ -219,13 +219,13 @@ var runCmd = &cobra.Command{ TimeFormat: config.If[string]( config.Exists[string, string](config.TimeFormats, cfg.TimeFormat), config.TimeFormats[cfg.TimeFormat], - config.DefaultTimeFormat, + config.TimeFormats[config.DefaultTimeFormat], ), ConsoleTimeFormat: config.If[string]( config.Exists[string, string]( config.ConsoleTimeFormats, cfg.ConsoleTimeFormat), config.ConsoleTimeFormats[cfg.ConsoleTimeFormat], - config.DefaultConsoleTimeFormat, + config.ConsoleTimeFormats[config.DefaultConsoleTimeFormat], ), NoColor: cfg.NoColor, FileName: cfg.FileName,