摘要: 时间字符串格式化为中文年月日 let chDate = new Intl.DateTimeFormat('zh-CN', { year: 'numeric', month: 'long', day: 'numeric' }).format(new Date(dateStr)) let chDate 阅读全文
posted @ 2025-12-10 14:40 庶旁 阅读(5) 评论(0) 推荐(0)