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

Fix Date.prototype.set* when date is invalid #727

Merged
merged 1 commit into from
Nov 28, 2024
Merged

Fix Date.prototype.set* when date is invalid #727

merged 1 commit into from
Nov 28, 2024

Conversation

saghul
Copy link
Contributor

@saghul saghul commented Nov 28, 2024

setYear required special handing since calling date.setYear(NaN) has specific defined behavior.

@saghul saghul requested a review from bnoordhuis November 28, 2024 09:26
setYear required special handing since calling date.setYear(NaN) has
specific defined behavior.
@saghul saghul merged commit fd054b7 into master Nov 28, 2024
59 checks passed
@saghul saghul deleted the fix-date-nan branch November 28, 2024 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants