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

[Documentation] wrong expected result in code comment for Dates #20216

Closed
DelTaGC opened this issue Jul 23, 2024 · 0 comments · Fixed by #20907
Closed

[Documentation] wrong expected result in code comment for Dates #20216

DelTaGC opened this issue Jul 23, 2024 · 0 comments · Fixed by #20907
Assignees

Comments

@DelTaGC
Copy link

DelTaGC commented Jul 23, 2024

Environment

Browsers: Firefox 128.0
OS: Windows

Steps to reproduce

Documentation does not reflect actual behavior:
console.log(date.getMonth(new Date('March 1, 2021'))) // 3
should be
console.log(date.getMonth(new Date('March 1, 2021'))) // 2
since new Date('March 1, 2021').GetMonth() returns 2

Expected Behavior

console.log(date.getMonth(new Date('March 1, 2021'))) // 2

Actual Behavior

console.log(date.getMonth(new Date('March 1, 2021'))) // 2

Reproduction Link

https://vuetifyjs.com/en/features/dates/#format-options

@github-actions github-actions bot added the S: stale This issue is untriaged and hasn't seen any activity in at least six months. label Jan 19, 2025
@github-actions github-actions bot removed S: triage S: stale This issue is untriaged and hasn't seen any activity in at least six months. labels Jan 23, 2025
KaelWD pushed a commit that referenced this issue Jan 23, 2025
johnleider pushed a commit that referenced this issue Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants