1
0
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:
John Mitchell 2016-06-21 11:38:29 -04:00
parent eb0ca2da4a
commit 233b86b3cd

View File

@ -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;