We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64aae38 commit 3321bd4Copy full SHA for 3321bd4
ui/widgets/datepicker.js
@@ -1036,7 +1036,7 @@ $.extend( Datepicker.prototype, {
1036
}
1037
1038
inst = this._getInst( target[ 0 ] );
1039
- inst.selectedDay = inst.currentDay = $( "a", td ).data( "date" );
+ inst.selectedDay = inst.currentDay = parseInt($( "a", td ).attr( "data-date" ));
1040
inst.selectedMonth = inst.currentMonth = month;
1041
inst.selectedYear = inst.currentYear = year;
1042
this._selectDate( id, this._formatDate( inst,
0 commit comments