diff --git a/codersdk/deployment_test.go b/codersdk/deployment_test.go index 7cecc288512ca..d6846557cd9cc 100644 --- a/codersdk/deployment_test.go +++ b/codersdk/deployment_test.go @@ -209,25 +209,26 @@ func TestTimezoneOffsets(t *testing.T) { ExpectedOffset int }{ { - Name: "UTX", + Name: "UTC", Loc: time.UTC, ExpectedOffset: 0, }, - { - Name: "Eastern", - Loc: must(time.LoadLocation("America/New_York")), - ExpectedOffset: -4, - }, - { - Name: "Central", - Loc: must(time.LoadLocation("America/Chicago")), - ExpectedOffset: -5, - }, - { - Name: "Ireland", - Loc: must(time.LoadLocation("Europe/Dublin")), - ExpectedOffset: 1, - }, + // The following test cases are broken re: daylight savings + //{ + // Name: "Eastern", + // Loc: must(time.LoadLocation("America/New_York")), + // ExpectedOffset: -4, + //}, + //{ + // Name: "Central", + // Loc: must(time.LoadLocation("America/Chicago")), + // ExpectedOffset: -5, + //}, + //{ + // Name: "Ireland", + // Loc: must(time.LoadLocation("Europe/Dublin")), + // ExpectedOffset: 1, + //}, { Name: "HalfHourTz", // This timezone is +6:30, but the function rounds to the nearest hour.