Browse Source

log: Change time format

- Keep the tailing zeros.
- Limit precision to milliseconds.
Paweł Bylica 7 years ago
parent
commit
6d8a1bfb08
1 changed files with 1 additions and 1 deletions
  1. 1 1
      log/format.go

+ 1 - 1
log/format.go

@@ -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
 )
 )