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

Function tasksDueOn

packages/shared-domain/src/tasks.ts:361–363  ·  view source on GitHub ↗
(tasks: VaultTask[], iso: string)

Source from the content-addressed store, hash-verified

359 * calendar. Without this the sidepanel calendar under-counted `@waiting` tasks
360 * the Tasks calendar showed. (#311, complementing #236) */
361export function tasksDueOn(tasks: VaultTask[], iso: string): VaultTask[] {
362 return tasks.filter((t) => !t.checked && t.due === iso)
363}
364
365/**
366 * Give undated tasks that live in a daily note an *implicit* due date equal to

Callers 2

CalendarPanelFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected