You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.
I encountered an issue where after upgrading to the latest version of the Date Range Picker and JQuery UI 1.10, the preset date ranges did not change when selected.
I was able to resolve this via this simple change on lines 269 and 270:
rp.find('.range-start').datepicker('setDate', new Date(dateStart)).find('.ui-datepicker-current-day').trigger('click');
rp.find('.range-end').datepicker('setDate', new Date(dateEnd)).find('.ui-datepicker-current-day').trigger('click');
I checked the API documentation and the DatePicker.setDate function appears to never have accepted the long integer version, so perhaps the JQuery UI team made a change recently that broke this assumption?
Anyway, hope it is helpful. Your widget has been really useful to me.
The text was updated successfully, but these errors were encountered:
I encountered an issue where after upgrading to the latest version of the Date Range Picker and JQuery UI 1.10, the preset date ranges did not change when selected.
I was able to resolve this via this simple change on lines 269 and 270:
old:
new:
I checked the API documentation and the DatePicker.setDate function appears to never have accepted the long integer version, so perhaps the JQuery UI team made a change recently that broke this assumption?
Anyway, hope it is helpful. Your widget has been really useful to me.
The text was updated successfully, but these errors were encountered: