LiangSFS

Results 1 issues of LiangSFS

我遇到的问题:澳大利亚时区下的2021年4月,显示有两个4日;定位到的问题 ![image](https://user-images.githubusercontent.com/44765294/115177482-ac789900-a112-11eb-986a-5fc6fd3ba5ac.png) 我的解决方案: 在components/calendar/index.js 文件 使用moment 的日期库 // let date = new Date(currenDate.getTime() + 86400000 * i); let date = new Date(moment(currenDate.getTime()).add(i, 'days').valueOf()) 而且进一步在 getMonthDayCount 方法获取 一个月的天数最好也是使用 moment // return...