Skip to content

Editorial: Replace BalanceISODate with addition#3204

Merged
ptomato merged 4 commits intotc39:mainfrom
catamorphism:anba-balance-iso-date-editorial-only
Jan 13, 2026
Merged

Editorial: Replace BalanceISODate with addition#3204
ptomato merged 4 commits intotc39:mainfrom
catamorphism:anba-balance-iso-date-editorial-only

Conversation

@catamorphism
Copy link
Contributor

This PR pulls out two of the editorial changes from #3184 . It replaces BalanceISODate with a new AddDaysToISODate operation, and also makes a minor editorial change to make use of signs clearer in DifferenceZonedDateTime.

I've left this as a series of commits for ease of review, but will squash before landing.

@catamorphism catamorphism changed the title Replace BalanceISODate with addition Editorial: Replace BalanceISODate with addition Dec 10, 2025
@codecov
Copy link

codecov bot commented Dec 10, 2025

Codecov Report

❌ Patch coverage is 96.96970% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 97.82%. Comparing base (3c8b916) to head (d5f025e).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
polyfill/lib/calendar.mjs 93.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3204      +/-   ##
==========================================
- Coverage   97.83%   97.82%   -0.01%     
==========================================
  Files          22       22              
  Lines       10381    10364      -17     
  Branches     1810     1810              
==========================================
- Hits        10156    10139      -17     
  Misses        205      205              
  Partials       20       20              

☔ 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 very much! I think this can be merged after some minor fixes.

@catamorphism catamorphism force-pushed the anba-balance-iso-date-editorial-only branch from 24fba9c to ad22159 Compare December 13, 2025 02:16
@ptomato ptomato force-pushed the anba-balance-iso-date-editorial-only branch from deb525b to d5f025e Compare January 13, 2026 01:20
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.

There were some merge conflicts so I rebased this, and while at it I squashed the later edits into the original 4 commits (2 spec text, 2 reference implementation.)

@ptomato ptomato merged commit 3a3349b into tc39:main Jan 13, 2026
10 checks passed
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.

3 participants