MCPcopy
hub / github.com/callumalpass/tasknotes / getEffectiveTaskStatus

Function getEffectiveTaskStatus

src/utils/helpers.ts:443–449  ·  view source on GitHub ↗
(
	task: TaskInfo,
	date: Date,
	completedStatus?: string
)

Source from the content-addressed store, hash-verified

441 * Gets the effective status of a task, considering recurrence
442 */
443export function getEffectiveTaskStatus(
444 task: TaskInfo,
445 date: Date,
446 completedStatus?: string
447): string {
448 return getEffectiveTaskStatusCore(task, date, completedStatus);
449}
450
451/**
452 * Checks if a recurring task should be due on the current target date

Calls

no outgoing calls

Tested by

no test coverage detected