(date: Date | string)
| 143 | |
| 144 | /** 获取指定日期所在周的标识 */ |
| 145 | export function getWeekLabelForDate(date: Date | string): string { |
| 146 | const d = typeof date === 'string' ? new Date(date) : date; |
| 147 | return getWeekLabel(d); |
| 148 | } |
nothing calls this directly
no test coverage detected