Skip to content

Commit 2162186

Browse files
committed
Fix UTC timezone naming
1 parent 6408277 commit 2162186

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/icassigner/calendar/ical_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import (
2929
func TestIsEventBlockingAvailability(t *testing.T) {
3030
now := time.Now()
3131

32-
utc, err := time.LoadLocation("utc")
32+
utc, err := time.LoadLocation("UTC")
3333
if err != nil {
3434
t.Fatal("Error during timezone utc loading:", err)
3535
}
@@ -227,7 +227,7 @@ END:VCALENDAR`
227227
}))
228228
defer ts.Close()
229229

230-
loc, _ := time.LoadLocation("utc")
230+
loc, _ := time.LoadLocation("UTC")
231231
now := time.Date(2023, time.December, 07, 16, 0, 0, 0, loc)
232232

233233
r, err := CheckAvailability(ts.URL, "tester", now)

0 commit comments

Comments
 (0)