Skip to content

Commit

Permalink
fix(*): set regional defaults to "defaults" instead of "en-US", #1842
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktorSlavov committed Dec 3, 2018
1 parent 10b4435 commit 76aca16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/js/modules/infragistics.ui.editors.js
Original file line number Diff line number Diff line change
Expand Up @@ -11103,7 +11103,7 @@

//V.S. March 7th 2018 - #1358 if no regional option is provided and a global regional is set, uses the global one
if ($.datepicker && typeof reg === "string") {
if (reg === "defaults" || reg === "en-US") {
if (reg === "defaults") {
if (typeof $.ig.util.regional === "string" && $.ig.util.regional) {
abbreviation = $.ig.util.regional;
}
Expand Down
2 changes: 1 addition & 1 deletion src/js/modules/infragistics.ui.widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
$(".selector").%%WidgetName%%("option", "regional", "ja");
```
*/
regional: "en-US"
regional: "defaults"
},
_createWidget: function (options) {
this._userPreset = options;
Expand Down

0 comments on commit 76aca16

Please sign in to comment.