Skip to content

Commit

Permalink
Remove a sub-minute offset test
Browse files Browse the repository at this point in the history
There was one remaining Temporal test that was parsing an ISO string
with a sub-minute offset into a Temporal.TimeZone. A polyfill bug was
allowing this test case to pass, even though after
tc39/proposal-temporal#2607 it should have failed.

This commit removes the bad test case.
  • Loading branch information
justingrant authored and ptomato committed Aug 9, 2023
1 parent 850ceaa commit cb24feb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/staging/Temporal/Regex/old/timezone.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ function generateTest(dateTimeString, zoneString, expectedName) {
});
generateTest("1976-11-18T15:23", "z", "UTC");
test("1976-11-18T15:23:30,1234Z", "UTC");
test("1976-11-18T15:23-04:00:00,000000000", "-04:00");
test("1976-11-18T15:23+000000,0[UTC]", "UTC");
[
"\u221204:00",
Expand Down

0 comments on commit cb24feb

Please sign in to comment.