diff --git a/parser.go b/parser.go index 8e1b284..680c274 100644 --- a/parser.go +++ b/parser.go @@ -66,6 +66,7 @@ func parse(lines []string, i int) (Game, int, error) { return g, i, fmt.Errorf("failed to extract timestamp from %s", lines[i]) } g.Timestamp, err = time.Parse("1/2 15:04:05.000", ts) + g.Timestamp = time.Date(time.Now().Year(), g.Timestamp.Month(), g.Timestamp.Day(), g.Timestamp.Hour(), g.Timestamp.Minute(), g.Timestamp.Second(), 0, time.UTC) if err != nil { return g, i, err }