mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
Remove accidentally committed value
This commit is contained in:
@@ -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);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user