aboutsummaryrefslogtreecommitdiff
path: root/telegram/utils_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'telegram/utils_test.go')
-rw-r--r--telegram/utils_test.go2
1 files changed, 1 insertions, 1 deletions
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{