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()) }