mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 19:30:39 -03:30
Remove accidentally committed value
This commit is contained in:
parent
bcca803323
commit
d8e1887036
@ -1,18 +0,0 @@
|
||||
var originalMoment = window.moment;
|
||||
|
||||
export default function moment() {
|
||||
|
||||
// navigator.language is available in all modern browsers.
|
||||
// however navigator.languages is a new technology that
|
||||
// lists the user's preferred languages, the first in the array
|
||||
// being the user's top choice. navigator.languages is currently
|
||||
// comptabile with chrome>v32, ffox>32, but not IE/Safari
|
||||
var lang = navigator.languages ?
|
||||
navigator.languages[0] :
|
||||
(navigator.language || navigator.userLanguage);
|
||||
|
||||
originalMoment.locale(lang);
|
||||
return originalMoment.apply(this, arguments);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user