Add Temporal.ZonedDateTime tests#30296
Conversation
Covers the ZonedDateTime constructor, getters, conversions, DST
handling via ICU, negative-epoch edge cases, compare/equals, and the
new Temporal.Now.{zonedDateTimeISO,plainDateISO,plainTimeISO,
plainDateTimeISO} functions.
Requires oven-sh/WebKit#218; tests will fail until the WebKit hash is
bumped to include that change.
|
Updated 5:08 PM PT - May 5th, 2026
❌ @robobun, your commit e064ec3 has 1 failures in
🧪 To try this PR locally: bunx bun-pr 30296That installs a local version of the PR into your bun-30296 --bun |
|
Closing this draft. The
This Bun PR contained only These tests are preserved on branch Part of #15853. |
What does this PR do?
Adds tests for
Temporal.ZonedDateTimeand theTemporal.Now.{zonedDateTimeISO,plainDateISO,plainTimeISO,plainDateTimeISO}functions.Blocked on oven-sh/WebKit#218 — these tests exercise the JSC implementation added there. They will fail in CI until that PR is merged and the WebKit hash is bumped. Opening as a draft so the tests are ready to land alongside the bump.
Part of #15853.
How did you verify your code works?
Built locally with
--profile=debug-localagainst the WebKit branch:All 10 tests fail against current prebuilt WebKit (
Temporal.ZonedDateTimeisundefined).