Skip to content

Conversation

@catamorphism
Copy link
Contributor

With the normative change proposed in tc39/proposal-temporal#3197 , these tests are no longer valid. Changed them so they require subtracting a duration from the last representable year-month to succeed, rather than throwing an exception.

With the normative change proposed in tc39/proposal-temporal#3197 , these tests are no longer valid. Changed them so they
require subtracting a duration from the last representable year-month
to succeed, rather than throwing an exception.
Copy link
Contributor

@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.

LGTM assuming the normative change gets consensus.

@ptomato ptomato added the awaiting consensus This needs committee consensus before it can be eligible to be merged. label Dec 11, 2025
@catamorphism
Copy link
Contributor Author

Just pushed a patch to update two more tests that are similar, which I didn't notice the first time.

@ptomato
Copy link
Contributor

ptomato commented Dec 12, 2025

The additional tests may change based on comments in tc39/proposal-temporal#3197.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting consensus This needs committee consensus before it can be eligible to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants