作为数组
返回一个镜像参数的数组
¥Returns an array that mirrors the parameters
This requires the
ToArray
plugin to work
dayjs.extend(toArray)
dayjs('2019-01-25').toArray() // [ 2019, 0, 25, 0, 0, 0, 0 ]
返回一个镜像参数的数组
¥Returns an array that mirrors the parameters
This requires the
ToArray
plugin to work
dayjs.extend(toArray)
dayjs('2019-01-25').toArray() // [ 2019, 0, 25, 0, 0, 0, 0 ]