mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 19:21:06 -03:30
Copy all properties of original moment to wrapped object
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user