diff --git a/awx/ui/static/js/shared/moment/moment.js b/awx/ui/static/js/shared/moment/moment.js index f8c9b3599b..9d7ba7cc91 100644 --- a/awx/ui/static/js/shared/moment/moment.js +++ b/awx/ui/static/js/shared/moment/moment.js @@ -1,6 +1,6 @@ var originalMoment = window.moment; -export default function moment() { +function moment() { // navigator.language is available in all modern browsers. // however navigator.languages is a new technology that @@ -15,4 +15,6 @@ export default function moment() { return originalMoment.apply(this, arguments); } +_.merge(moment, originalMoment); +export default moment;