diff options
author | Paweł Bylica <chfast@gmail.com> | 2018-06-22 16:50:44 +0800 |
---|---|---|
committer | Paweł Bylica <chfast@gmail.com> | 2018-06-25 17:22:23 +0800 |
commit | 6d8a1bfb08a330e20ceb62440d3f9db70e242c86 (patch) | |
tree | 7d928a73a989726b224d2211d23d51916f3a5890 | |
parent | d926bf2c7e3182d694c15829a37a0ca7331cd03c (diff) | |
download | dexon-6d8a1bfb08a330e20ceb62440d3f9db70e242c86.tar.gz dexon-6d8a1bfb08a330e20ceb62440d3f9db70e242c86.tar.zst dexon-6d8a1bfb08a330e20ceb62440d3f9db70e242c86.zip |
log: Change time format
- Keep the tailing zeros.
- Limit precision to milliseconds.
-rw-r--r-- | log/format.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/log/format.go b/log/format.go index bed32bd2d..0d4732cc0 100644 --- a/log/format.go +++ b/log/format.go @@ -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 ) |