Skip to content

Commit 450d75f

Browse files
scottgonzalezjzaefferer
authored andcommitted
Datepicker: Define en and en-US locales based on defaults
Fixes #6682 Closes gh-1269
1 parent 226cc3e commit 450d75f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ui/datepicker.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@ function Datepicker() {
139139
disabled: false // The initial disabled state
140140
};
141141
$.extend(this._defaults, this.regional[""]);
142+
this.regional.en = $.extend( true, {}, this.regional[ "" ]);
143+
this.regional[ "en-US" ] = $.extend( true, {}, this.regional.en );
142144
this.dpDiv = datepicker_bindHover($("<div id='" + this._mainDivId + "' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"));
143145
}
144146

0 commit comments

Comments
 (0)