Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temporal.Duration.prototype.{round,total}: Is CreateTemporalDuration really fallible when creating from balanced valid Duration? #2880

Open
anba opened this issue Jun 3, 2024 · 0 comments
Labels
editorial spec-text Specification text involved

Comments

@anba
Copy link
Contributor

anba commented Jun 3, 2024

Step 39.a:

Let dateDuration be ? CreateTemporalDuration(duration.[[Years]], duration.[[Months]], duration.[[Weeks]], duration.[[Days]] + targetTime.[[Days]], 0, 0, 0, 0, 0, 0).

duration is valid duration, so when can duration.[[Days]] + targetTime.[[Days]] create an invalid duration?

@ptomato ptomato added spec-text Specification text involved editorial labels Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editorial spec-text Specification text involved
Projects
None yet
Development

No branches or pull requests

2 participants