From 450d75f912f4161c475f18f9eeb7efd307c02eae Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Thu, 12 Jun 2014 13:37:06 -0400 Subject: [PATCH] Datepicker: Define en and en-US locales based on defaults Fixes #6682 Closes gh-1269 --- ui/datepicker.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/datepicker.js b/ui/datepicker.js index 735866c39..10b7d7eb5 100644 --- a/ui/datepicker.js +++ b/ui/datepicker.js @@ -139,6 +139,8 @@ function Datepicker() { disabled: false // The initial disabled state }; $.extend(this._defaults, this.regional[""]); + this.regional.en = $.extend( true, {}, this.regional[ "" ]); + this.regional[ "en-US" ] = $.extend( true, {}, this.regional.en ); this.dpDiv = datepicker_bindHover($("
")); } -- 2.39.5