Skip to content
Permalink
Browse files

Datepicker: Fixed #4634 Incorrect month number when using selectOther…

…Months
  • Loading branch information
Keith Wood
Keith Wood committed Jul 5, 2009
1 parent a84392c commit bf500e6b8bbe89ca3a07db83c5818dfafc500a5b
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/ui.datepicker.js
@@ -1402,7 +1402,7 @@ $.extend(Datepicker.prototype, {
(printDate.getTime() == today.getTime() ? ' ui-datepicker-today' : '')) + '"' + // highlight today (if different)
((!otherMonth || showOtherMonths) && daySettings[2] ? ' title="' + daySettings[2] + '"' : '') + // cell title
(unselectable ? '' : ' onclick="DP_jQuery.datepicker._selectDay(\'#' +
inst.id + '\',' + drawMonth + ',' + drawYear + ', this);return false;"') + '>' + // actions
inst.id + '\',' + printDate.getMonth() + ',' + printDate.getFullYear() + ', this);return false;"') + '>' + // actions
(otherMonth && !showOtherMonths ? ' ' : // display for other months
(unselectable ? '<span class="ui-state-default">' + printDate.getDate() + '</span>' : '<a class="ui-state-default' +
(printDate.getTime() == today.getTime() ? ' ui-state-highlight' : '') +

0 comments on commit bf500e6

Please sign in to comment.
You can’t perform that action at this time.