For some reason, the dates jump on Monday, and do not remain in their places. enter image description here

The following settings are set:

showOn:"focus", showAnim:"fadeIn", showOptions:{}, defaultDate:null, appendText:"", buttonText:"...", buttonImage:"", buttonImageOnly:!1, hideIfNoPrevNext:!1, navigationAsDateFormat:!1, gotoCurrent:false, changeMonth:!1, changeYear:!1, yearRange:"c-10:c+10", showOtherMonths:!1, selectOtherMonths:!1, showWeek:!1, calculateWeek:this.iso8601Week, shortYearCutoff:"+10", minDate:+1, maxDate:null, duration:"fast", beforeShowDay:null, beforeShow:null, onSelect:null, onChangeMonthYear:null, onClose:null, numberOfMonths:1, showCurrentAtPos:0, stepMonths:1, stepBigMonths:12, altField:"", altFormat:"", constrainInput:!0, showButtonPanel:!1, autoSize:!1, disabled:!1 
  • How to understand does not remain in place and what does jump on monday mean? - Air
  • January 16 is Wednesday, and the calendar is displayed as Monday - Dima Domrachev
  • Lay out all the code, it will be clearer - Air

1 answer 1

Apparently you have something of this type in your code.

 .ui-datepicker-unselectable { display: none; } 

or

 $('.ui-datepicker-unselectable').hide(); 

because of this date are shifted to the left. If you remove such a code, the dates will not jump.

  • I don’t find either one or the other - Dima Domrachev
  • Then where are the numbers from 1 to 15? - Vladimir
  • It is established minDate: +1, the numbers in the calendar are displayed starting from the next day - Dima Domrachev
  • @ Dima Homer this plugin does not hide dates, but makes them inaccessible for selection. Without your code, I will no longer wang. - Vladimir