Skip to content

Commit

Permalink
Fix UTC timezone naming
Browse files Browse the repository at this point in the history
  • Loading branch information
jotdl committed Apr 24, 2024
1 parent 6408277 commit 2162186
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/icassigner/calendar/ical_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
func TestIsEventBlockingAvailability(t *testing.T) {
now := time.Now()

utc, err := time.LoadLocation("utc")
utc, err := time.LoadLocation("UTC")
if err != nil {
t.Fatal("Error during timezone utc loading:", err)
}
Expand Down Expand Up @@ -227,7 +227,7 @@ END:VCALENDAR`
}))
defer ts.Close()

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

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

0 comments on commit 2162186

Please sign in to comment.