Fix Event.Times when format is set to UNIX time

This commit is contained in:
Olivier Poitrey 2018-05-09 03:51:07 -07:00
parent 57da509ee1
commit 79281e4bf6
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ func appendUnixTimes(dst []byte, vals []time.Time) []byte {
dst = strconv.AppendInt(dst, vals[0].Unix(), 10)
if len(vals) > 1 {
for _, t := range vals[1:] {
dst = strconv.AppendInt(dst, t.Unix(), 10)
dst = strconv.AppendInt(append(dst, ','), t.Unix(), 10)
}
}
dst = append(dst, ']')