From 424e7ac90d29aba77edcd555c585c894cc11abc7 Mon Sep 17 00:00:00 2001 From: Dan Kortschak Date: Wed, 25 Sep 2019 10:10:03 +0930 Subject: [PATCH] test: ensure hour-aligned timezone --- _test/time5.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_test/time5.go b/_test/time5.go index 20236912d..48fc5542a 100644 --- a/_test/time5.go +++ b/_test/time5.go @@ -6,7 +6,7 @@ import ( ) func main() { - t := time.Unix(1e9, 0) + t := time.Unix(1e9, 0).In(time.UTC) fmt.Println(t.Minute()) }