arraySupport.js 519 Bytes
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.dayjs_plugin_arraySupport=e()}(this,function(){"use strict";return function(t,e,n){var o=e.prototype,i=o.parse;o.parse=function(t){t.date=function(t){var e=t.date,o=t.utc;return Array.isArray(e)?o?e.length?new Date(Date.UTC.apply(null,e)):new Date:1===e.length?n(String(e[0])).toDate():new(Function.prototype.bind.apply(Date,[null].concat(e))):e}.bind(this)(t),i.bind(this)(t)}}});