Skip to content

Commit

Permalink
Merge pull request #202 from AkihiroSuda/dev3
Browse files Browse the repository at this point in the history
logs: fix time format
  • Loading branch information
AkihiroSuda authored May 4, 2021
2 parents a927131 + 94d4445 commit e160144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/logging/jsonfile/jsonfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func Decode(stdout, stderr io.Writer, r io.Reader, timestamps bool, since string
}

if timestamps {
output = append(output, []byte(e.Time.String())...)
output = append(output, []byte(e.Time.Format(time.RFC3339Nano))...)
output = append(output, ' ')
}

Expand Down

0 comments on commit e160144

Please sign in to comment.