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

Function getISOWeek

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

Source from the content-addressed store, hash-verified

121
122/** ISO 8601 week number (1-53) for the given date. */
123export function getISOWeek(date: Date): number {
124 return isoWeekParts(date).week
125}
126
127/** ISO 8601 week-year (may differ from the calendar year at year boundaries). */
128export function getISOWeekYear(date: Date): number {

Callers 8

isoWeekStrFunction · 0.90
CalendarPanelFunction · 0.90
formatDateNotePatternFunction · 0.90
weeklyNoteTitleFunction · 0.90
dailyCandidateDatesFunction · 0.90
substituteTokensFunction · 0.85

Calls 1

isoWeekPartsFunction · 0.85

Tested by

no test coverage detected