trentrichardson / jQuery-Timepicker-Addon

Adds a timepicker to jQueryUI Datepicker
http://trentrichardson.com/examples/timepicker/
MIT License
2.66k stars 1.05k forks source link

Jquery UI datepicker rotates on selection when number of months shown are more than one #914

Open ashimakochar opened 7 years ago

ashimakochar commented 7 years ago

0 down vote favorite If 2 months are shown using Jquery UI datepicker for both depart and return date e.g. March , April and if depart date is selected as in March while return date in April then when again clicked on Return Date Calender shows April, May instead of March,April as calender rotates to the current selection of return date. I need to disable this calender movement in case of return. Tried onChangeMonthYear but it is reached post _updateDatepicker is called and did not help. Also tried showCurrentAtPos but this renders another calender on top of existing one and did not help either.