Alright, I found workaround.
$("#selector").datepicker({
minDate: new Date(2017, 0, 1),
maxDate: "+5y"
});
yet, it would be nice to know why the option before didn’t work.
Alright, I found workaround.
$("#selector").datepicker({
minDate: new Date(2017, 0, 1),
maxDate: "+5y"
});
yet, it would be nice to know why the option before didn’t work.