Open elyse0 opened 3 years ago
The isBeforeDate(date, beforeDate, type) was failing to convert a simple number into a year, causing 2019 to be an invalid year between 2018 and 2020.
https://github.com/mathieustan/vue-datepicker/blob/62211caacb13943b548dfc4649a42fa0005b8526/tests/unit/components/VDPicker/VDPickerYears.spec.js#L185
Fixes #85
So it looks like if you change your time zone to a negative one like US year 2021 is disabled.
The isBeforeDate(date, beforeDate, type) was failing to convert a simple number into a year, causing 2019 to be an invalid year between 2018 and 2020.
https://github.com/mathieustan/vue-datepicker/blob/62211caacb13943b548dfc4649a42fa0005b8526/tests/unit/components/VDPicker/VDPickerYears.spec.js#L185
Fixes #85