diff --git a/telegram/utils_test.go b/telegram/utils_test.go index 43634c9..f0140ae 100644 --- a/telegram/utils_test.go +++ b/telegram/utils_test.go @@ -30,7 +30,7 @@ func TestOnlineRecently(t *testing.T) { } func TestOnlineOfflineAway(t *testing.T) { - location, _ := time.LoadLocation("Europe/Berlin") + location := time.FixedZone("UTC+1", 3600) timestamp := time.Now().In(location).Unix() - 3599 tm := time.Unix(timestamp, 0).In(location) c := &Client{