Closed hasanparasteh closed 2 years ago
Why should the date be 1998-12-19 when you input 1377-09-28? It seems, either way, that the datepicker can only go back 100 years, so 1377 is probably not considered valid by the component.
I changed the locale and I expect that it would change the date picker into Jalali Calendar
instead of Gregorian calendar
Environment
Vuetify Version: 2.5.8 Vue Version: 2.6.11 Browsers: Firefox 78.0 OS: Mac OS 10.15
Steps to reproduce
When I choose my birthdate in my locale date picker the value of the date is one year different than expected...
Expected Behavior
For example, when I choose 1377-09-28 in Persian date the value that is on the text field is 1999-12-19 which is wrong!
Actual Behavior
The date it should be is 1998-12-19!
Reproduction Link
First clicks on the text field to open up the date picker then clicks on month-year( for example
مرداد ۱۴۰۰
from the top of the date picker) after that the months shows up and I click on the year(for example۱۴۰۰
) and then scroll down to the year I want(for example۱۳۷۷
) then I click on a month name(for exampleآذر
) and after that, I choose a day(for example۲۸
). This is where the bug shows itself and the selected year is wrong.https://codesandbox.io/s/vuetifydatepickerissue-btqfv
Screenshot