Skip to content

Conversation

@ptomato
Copy link
Contributor

@ptomato ptomato commented Nov 21, 2025

This adds tests similar to the ISO8601 calendar ones in test/built-ins/ for constraining the day to the end of the month when adding a number of months, for the four ISO8601-like calendars (buddhist, gregory, japanese, roc).

As usual, I recommend reviewing only the PlainDate/prototype/add and PlainDate/prototype/with ones, the others are very similar.

@ptomato ptomato requested a review from a team as a code owner November 21, 2025 21:48
@ptomato ptomato force-pushed the constrain-day-iso-like branch from 3928722 to dee9ce9 Compare November 22, 2025 01:15
This adds tests similar to the ISO8601 calendar ones in test/built-ins/
for constraining the day to the end of the month when adding a number
of months, for the four ISO8601-like calendars (buddhist, gregory,
japanese, roc).
Similar to the previous commit, this adds tests for constraining the day
to the end of the month, but using the with() method. For the four
ISO8601-like calendars (buddhist, gregory, japanese, roc).
@ptomato ptomato force-pushed the constrain-day-iso-like branch from dee9ce9 to bf94cce Compare November 24, 2025 23:30
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.

1 participant