diff --git a/demos/datepicker/date-range.html b/demos/datepicker/date-range.html index 1e3beb2a2..6bce3f776 100644 --- a/demos/datepicker/date-range.html +++ b/demos/datepicker/date-range.html @@ -17,7 +17,7 @@ numberOfMonths: 3, onSelect: function( selectedDate ) { var option = this.id == "from" ? "minDate" : "maxDate", - instance = $( this ).data( "datepicker" ); + instance = $( this ).data( "datepicker" ), date = $.datepicker.parseDate( instance.settings.dateFormat || $.datepicker._defaults.dateFormat,