Skip to content
Permalink
Browse files

Fixed 3642. firstDay displays day names incorrectly.

  • Loading branch information
Keith Wood
Keith Wood committed Dec 8, 2008
1 parent b3f1dcf commit 58871808ac1e6d5a667c0d3d6fa022d930d371f2
Showing with 2 additions and 1 deletion.
  1. +2 −1 ui/ui.datepicker.js
@@ -1430,7 +1430,8 @@ $.extend(Datepicker.prototype, {
this._addStatus(showStatus, inst.id, this._get(inst, 'currentStatus'), initStatus) + '>' +
currentText + '</a></div>' : '') + (isRTL ? prev : next) + '</div>' +
(prompt ? '<div class="' + this._promptClass + '"><span>' + prompt + '</span></div>' : '');
var firstDay = this._get(inst, 'firstDay');
var firstDay = parseInt(this._get(inst, 'firstDay'));
firstDay = (isNaN(firstDay) ? 0 : firstDay);
var changeFirstDay = this._get(inst, 'changeFirstDay');
var dayNames = this._get(inst, 'dayNames');
var dayNamesShort = this._get(inst, 'dayNamesShort');

0 comments on commit 5887180

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