Skip to content

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

Merged
saghul merged 1 commit intomasterfrom
fix-date-nan
Nov 28, 2024
Merged

Fix Date.prototype.set* when date is invalid#727
saghul merged 1 commit intomasterfrom
fix-date-nan

Conversation

@saghul
Copy link
Copy Markdown
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
@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