摘要: function getWeekNumber(date) { // 创建表示周日的新 Date 对象并获取其时间戳 const sunday = new Date(date.getFullYear(), date.getMonth(), date.getDate() - date.getDay()) 阅读全文
posted @ 2023-04-23 17:41 Z-HarOld 阅读(95) 评论(0) 推荐(0) 编辑