当前版本 v1.11
要获取从 Day.js 对象解析的原生 Date 对象的副本,请使用 dayjs#toDate。
dayjs#toDate
dayjs('2019-01-25').toDate()
Day.js 中文文档 - 粤ICP备14034220号-1