Skip to content

Commit 6d8a1bf

Browse files
committed
log: Change time format
- Keep the tailing zeros. - Limit precision to milliseconds.
1 parent d926bf2 commit 6d8a1bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

log/format.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515

1616
const (
1717
timeFormat = "2006-01-02T15:04:05-0700"
18-
termTimeFormat = "01-02|15:04:05.999999"
18+
termTimeFormat = "01-02|15:04:05.000"
1919
floatFormat = 'f'
2020
termMsgJust = 40
2121
)

0 commit comments

Comments
 (0)