Skip to content

Intl Era Monthcode: PlainYearMonth tests, part 2#4766

Merged
Ms2ger merged 1 commit intotc39:mainfrom
ptomato:intl-era-monthcode-plainyearmonth-part2
Dec 5, 2025
Merged

Intl Era Monthcode: PlainYearMonth tests, part 2#4766
Ms2ger merged 1 commit intotc39:mainfrom
ptomato:intl-era-monthcode-plainyearmonth-part2

Conversation

@ptomato
Copy link
Copy Markdown
Contributor

@ptomato ptomato commented Dec 5, 2025

This commit copies all of the PlainDate since() and until() tests that would apply to PlainYearMonth, and adapts them where necessary.

To follow: add(), subtract(). See #4762 for part 1.

It's very large so most likely the best way to review it is spot-checking and searching for extraneous day: properties.

@ptomato ptomato requested a review from a team as a code owner December 5, 2025 01:49
This commit copies all of the PlainDate.since and .until tests that
would apply to PlainYearMonth, and adapts them where necessary.
@Ms2ger Ms2ger force-pushed the intl-era-monthcode-plainyearmonth-part2 branch from 9a2907b to 2d1d93c Compare December 5, 2025 11:35
@Ms2ger Ms2ger enabled auto-merge (rebase) December 5, 2025 11:35
@Ms2ger Ms2ger merged commit f866b4b into tc39:main Dec 5, 2025
12 checks passed
@ptomato ptomato deleted the intl-era-monthcode-plainyearmonth-part2 branch December 5, 2025 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants