log: Change time format

- Keep the tailing zeros.
- Limit precision to milliseconds.
This commit is contained in:
Paweł Bylica 2018-06-22 10:50:44 +02:00
parent d926bf2c7e
commit 6d8a1bfb08
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF

View File

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