Skip to content

Commit

Permalink
test: ensure hour-aligned timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
kortschak authored and traefiker committed Sep 25, 2019
1 parent effd64c commit 424e7ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _test/time5.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
)

func main() {
t := time.Unix(1e9, 0)
t := time.Unix(1e9, 0).In(time.UTC)
fmt.Println(t.Minute())
}

Expand Down

0 comments on commit 424e7ac

Please sign in to comment.