We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e197bc3 commit a18712fCopy full SHA for a18712f
js/angular-material-datetimepicker.js
@@ -66,7 +66,7 @@
66
67
angular.module(moduleName, ['ngMaterial'])
68
.provider('mdcDatetimePickerDefaultLocale', function () {
69
- this.locale = 'en';
+ this.locale = window.navigator.userLanguage || window.navigator.language || 'en';
70
71
this.$get = function () {
72
return this;
0 commit comments