diff --git a/src/js/Alpaca.js b/src/js/Alpaca.js index ce74988af..52a9d8032 100644 --- a/src/js/Alpaca.js +++ b/src/js/Alpaca.js @@ -5072,7 +5072,7 @@ throw new Error("The moment.js library has not been included, cannot produce moment object"); } - return Alpaca._moment.call(this, arguments); + return Alpaca._moment.apply(this, arguments); }; ////////////////////////////////////////////////////////////////////////////////////////////////