We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52f64af commit c0763dbCopy full SHA for c0763db
pkg/logcourier/logfetch.go
@@ -12,7 +12,7 @@ import (
12
// correctly interprets as DateTime64(3). The Go driver truncates milliseconds
13
// when binding time.Time directly to DateTime64 parameters.
14
func toDateTime64String(t time.Time) string {
15
- return fmt.Sprintf("%.3f", float64(t.UnixMilli())/1000.0)
+ return t.UTC().Format("2006-01-02 15:04:05.000")
16
}
17
18
// LogFetcher fetches logs from ClickHouse
0 commit comments