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

Function getISOWeekYear

packages/app-core/src/lib/template-render.ts:128–130  ·  view source on GitHub ↗
(date: Date)

Source from the content-addressed store, hash-verified

126
127/** ISO 8601 week-year (may differ from the calendar year at year boundaries). */
128export function getISOWeekYear(date: Date): number {
129 return isoWeekParts(date).year
130}
131
132/**
133 * Inverse of {@link getISOWeek}: the Monday (local midnight) of the given ISO

Callers 6

isoWeekStrFunction · 0.90
SidebarFunction · 0.90
weeklyNoteTitleFunction · 0.90
weeklyCandidateMondaysFunction · 0.90

Calls 1

isoWeekPartsFunction · 0.85

Tested by

no test coverage detected