mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
remove set locale hack
This commit is contained in:
parent
eb0ca2da4a
commit
233b86b3cd
@ -20,12 +20,6 @@ export default
|
||||
},
|
||||
templateUrl: templateUrl('system-tracking/date-picker/date-picker'),
|
||||
link: function(scope, element, attrs) {
|
||||
var lang = window.navigator.languages ?
|
||||
window.navigator.languages[0] :
|
||||
(window.navigator.language || window.navigator.userLanguage);
|
||||
|
||||
moment.locale(lang);
|
||||
|
||||
// We need to make sure this _never_ recurses, which sometimes happens
|
||||
// with two-way binding.
|
||||
var mustUpdateValue = true;
|
||||
|
Loading…
Reference in New Issue
Block a user