Timezones are expected to ignore DST

This commit is contained in:
Bohdan Horbeshko 2022-04-01 12:29:55 -04:00
parent 17afd3f8c7
commit 2f38af12a2

View file

@ -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{