Skip to content

Commit 3632a09

Browse files
committed
Use the value from the map
1 parent c01a05d commit 3632a09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/run.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,13 +219,13 @@ var runCmd = &cobra.Command{
219219
TimeFormat: config.If[string](
220220
config.Exists[string, string](config.TimeFormats, cfg.TimeFormat),
221221
config.TimeFormats[cfg.TimeFormat],
222-
config.DefaultTimeFormat,
222+
config.TimeFormats[config.DefaultTimeFormat],
223223
),
224224
ConsoleTimeFormat: config.If[string](
225225
config.Exists[string, string](
226226
config.ConsoleTimeFormats, cfg.ConsoleTimeFormat),
227227
config.ConsoleTimeFormats[cfg.ConsoleTimeFormat],
228-
config.DefaultConsoleTimeFormat,
228+
config.ConsoleTimeFormats[config.DefaultConsoleTimeFormat],
229229
),
230230
NoColor: cfg.NoColor,
231231
FileName: cfg.FileName,

0 commit comments

Comments
 (0)