export function getDayOfWeek(date) { const days = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"]; const dayOfWeek = date.getDay(); return days[dayOfWeek]; }