test: ensure hour-aligned timezone

This commit is contained in:
Dan Kortschak
2019-09-25 10:10:03 +09:30
committed by Traefiker Bot
parent effd64c980
commit 424e7ac90d

View File

@@ -6,7 +6,7 @@ import (
)
func main() {
t := time.Unix(1e9, 0)
t := time.Unix(1e9, 0).In(time.UTC)
fmt.Println(t.Minute())
}