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