- 时间字符串格式化为中文年月日
let chDate = new Intl.DateTimeFormat('zh-CN', {year: 'numeric',month: 'long',day: 'numeric'
}).format(new Date(dateStr))
深耕网站建设、视觉设计与SEO优化的一线实战洞察。
let chDate = new Intl.DateTimeFormat('zh-CN', {year: 'numeric',month: 'long',day: 'numeric'
}).format(new Date(dateStr))