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

Function isoWeekStr

packages/app-core/src/components/CalendarPanel.tsx:90–92  ·  view source on GitHub ↗
(d: Date)

Source from the content-addressed store, hash-verified

88}
89
90function isoWeekStr(d: Date): string {
91 return `${getISOWeekYear(d)}-W${String(getISOWeek(d)).padStart(2, '0')}`
92}
93
94function monthLabel(d: Date): string {
95 return d.toLocaleDateString(undefined, { month: 'long', year: 'numeric' })

Callers 1

CalendarPanelFunction · 0.85

Calls 2

getISOWeekYearFunction · 0.90
getISOWeekFunction · 0.90

Tested by

no test coverage detected