Skip to content

polyfill: Remove ZonedDateTime from Formattable type#3260

Merged
ptomato merged 1 commit intotc39:mainfrom
fabon-f:zdt-not-formattable
Jan 22, 2026
Merged

polyfill: Remove ZonedDateTime from Formattable type#3260
ptomato merged 1 commit intotc39:mainfrom
fabon-f:zdt-not-formattable

Conversation

@fabon-f
Copy link
Contributor

@fabon-f fabon-f commented Jan 22, 2026

Temporal.ZonedDateTime can't be formatted in Intl.DateTimeFormat methods, thus the type definition is wrong.

cf. fullcalendar/temporal-polyfill#78 fullcalendar/temporal-polyfill#81

@codecov
Copy link

codecov bot commented Jan 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.91%. Comparing base (a91494f) to head (d90c1c7).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3260   +/-   ##
=======================================
  Coverage   97.91%   97.91%           
=======================================
  Files          22       22           
  Lines       10367    10367           
  Branches     1805     1805           
=======================================
  Hits        10151    10151           
  Misses        197      197           
  Partials       19       19           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Collaborator

@ptomato ptomato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ptomato ptomato merged commit 9291822 into tc39:main Jan 22, 2026
13 of 14 checks passed
@fabon-f fabon-f deleted the zdt-not-formattable branch February 6, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants