MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / weeklyNoteTitle

Function weeklyNoteTitle

packages/app-core/src/lib/vault-layout.ts:842–844  ·  view source on GitHub ↗
(date = new Date())

Source from the content-addressed store, hash-verified

840}
841
842export function weeklyNoteTitle(date = new Date()): string {
843 return `${getISOWeekYear(date)}-W${pad(getISOWeek(date))}`
844}
845
846export interface WeeklyNoteLocation {
847 title: string

Callers 3

CalendarPanelFunction · 0.90
buildDateNoteIndexesFunction · 0.85
findWeeklyNoteForDateFunction · 0.85

Calls 3

getISOWeekYearFunction · 0.90
getISOWeekFunction · 0.90
padFunction · 0.70

Tested by

no test coverage detected