Skip to content

Commit

Permalink
log: Change time format
Browse files Browse the repository at this point in the history
- Keep the tailing zeros.
- Limit precision to milliseconds.
  • Loading branch information
chfast committed Jun 25, 2018
1 parent d926bf2 commit 6d8a1bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion log/format.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (

const (
timeFormat = "2006-01-02T15:04:05-0700"
termTimeFormat = "01-02|15:04:05.999999"
termTimeFormat = "01-02|15:04:05.000"
floatFormat = 'f'
termMsgJust = 40
)
Expand Down

0 comments on commit 6d8a1bf

Please sign in to comment.