Skip to content

Conversation

@catamorphism
Copy link
Contributor

Add coverage for primitive non-string values passed in for the monthCode option in the from method for PlainDate, PlainDateTime, PlainYearMonth, and ZonedDateTime.

@catamorphism catamorphism requested a review from a team as a code owner January 5, 2026 20:48
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: sec-temporal.plaindate.prototype.monthcode
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think this is in the right place. It's a test for .from(), not date.monthCode, and I think it doesn't even need to be under intl402/

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Moved tests.

Add coverage for primitive non-string values passed in for the `monthCode`
option in the `from` method for PlainDate, PlainDateTime, PlainYearMonth,
and ZonedDateTime.
@catamorphism catamorphism force-pushed the non-string-month-code branch from a29e9a8 to c9a69b7 Compare January 6, 2026 22:18
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.

3 participants