I am using jQuery-1.12.4 for my datepicker in Laravel-5.8
<input type="text" id="holiday_date" class="form-control" name="holiday_date" value="{{old('holiday_date')}}" >
<script type="text/javascript">
$(document).ready(function() {
$('#holiday_date').datepicker({
dateFormat: 'yy-mm-dd',
});
</script>
How to I limit the JQuery datepicker to :
first day of the current year
last day of the current year