MCPcopy Create free account
hub / github.com/TurtleTrace2026/TurtleTrace / getWeekLabelForDate

Function getWeekLabelForDate

src/types/weeklyReview.ts:145–148  ·  view source on GitHub ↗
(date: Date | string)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

getWeekLabelFunction · 0.85

Tested by

no test coverage detected