-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Fix misleading Date constructor documentation (addresses #49350) #49649
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
Conversation
Signed-off-by: jmorrison152 <[email protected]>
Signed-off-by: jmorrison152 <[email protected]>
) (#73) * Update month parameter to monthIndex and add docs for Date constructor Signed-off-by: jmorrison152 <[email protected]> * Add baseline changes Signed-off-by: jmorrison152 <[email protected]>
|
This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise. |
@jackmorrison12 I'll merge this after you have a chance to merge from main. No need to rebase or anything; I'll squash and merge afterward. |
@sandersn Thanks for the review - this is now updated. |
Issue number of the reported bug or feature request: #49350
Describe your changes
month
tomonthIndex
to align with MDN for Date constructor and UTC method (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/Date#syntax)Testing performed
n/a - exclusively documentation changes and a parameter rename, no way to test these. Updated the baseline changes since some line numbers were updated from the change
Fixes #49350