Timezones are expected to ignore DST
This commit is contained in:
parent
17afd3f8c7
commit
2f38af12a2
|
@ -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{
|
||||
|
|
Loading…
Reference in a new issue