-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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
DatePicker component duplicating/skipping months after year-click #1409
Comments
Also worth noting: when you click a date in the incorrectly-labeled October (what should be November), the side-panel (ie, blue box) has the correct date. eg, I click "October" 16, and the left text shows: 2005 |
This is due to the javascript Date object. You can test this yourself by creating a new Date object, |
Isn't that a result of getMonth() being zero-based? For me, the issue here only happens on those two specific "month-pairs"...March/April & October/November. If the issue was an off-by-one error, I'd think it would be consistently wrong. Am I turned around on that? |
You're right, I was looking at something else. Gotta stop drinking. |
HA! Been there before. 🍻 |
Steps to reproduce
Versions
Windows 10
Chrome 60.0.3112.90
Vuetify .14
What is expected ?
To see the April and November months.
What is actually happening ?
March and October are shown "again", in place of April and November (respectively). Note that the days on the second "iteration" of the month are correct, header/month is just off.
Reproduction Link
https://vuetifyjs.com/components/pickers
The text was updated successfully, but these errors were encountered: