ArraySupport
ArraySupport 扩展了 dayjs()
, dayjs.utc
API 以支持数组参数。
javascript
var arraySupport = require("dayjs/plugin/arraySupport");
dayjs.extend(arraySupport);
dayjs([2010, 1, 14, 15, 25, 50, 125]);
dayjs.utc([2010, 1, 14, 15, 25, 50, 125]);