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

Function addDays

packages/app-core/src/components/TasksCalendar.tsx:58–60  ·  view source on GitHub ↗
(d: Date, n: number)

Source from the content-addressed store, hash-verified

56}
57
58function addDays(d: Date, n: number): Date {
59 return new Date(d.getFullYear(), d.getMonth(), d.getDate() + n)
60}
61
62function parseIsoLocal(iso: string): Date {
63 // Manual parse so we always land in local-time midnight (avoiding

Callers 3

buildMonthGridFunction · 0.85
moveSelectionFunction · 0.85
handlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected