Merge pull request #182 from github/utc-streamer

row_event converts timestamps to UTC
This commit is contained in:
Shlomi Noach 2016-08-23 08:13:03 +02:00 committed by GitHub
commit a1baa1971c

View File

@ -609,7 +609,7 @@ func decodeTimestamp2(data []byte, dec uint16) (string, int, error) {
return "0000-00-00 00:00:00", n, nil
}
t := time.Unix(sec, usec*1000)
t := time.Unix(sec, usec*1000).UTC()
return t.Format(TimeFormat), n, nil
}