log: Change time format (#17054)

- Keep the tailing zeros.
- Limit precision to milliseconds.
This commit is contained in:
Daniel Liu 2024-11-15 10:02:41 +08:00
parent f391463457
commit 38e5efbfe4

View file

@ -15,7 +15,7 @@ import (
const (
timeFormat = "2006-01-02T15:04:05-0700"
termTimeFormat = "01-02|15:04:05"
termTimeFormat = "01-02|15:04:05.000"
floatFormat = 'f'
termMsgJust = 40
)