MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / getTodayTaskCardTargetDate

Function getTodayTaskCardTargetDate

src/ui/taskCardState.ts:34–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32}
33
34function getTodayTaskCardTargetDate(): Date {
35 const todayLocal = new Date();
36 return new Date(
37 Date.UTC(todayLocal.getFullYear(), todayLocal.getMonth(), todayLocal.getDate())
38 );
39}
40
41export function getDefaultTaskCardTargetDate(task: TaskInfo): Date {
42 if (task.recurrence && task.recurrence_anchor !== "completion" && task.scheduled) {

Callers 1

Calls 1

getDateMethod · 0.65

Tested by

no test coverage detected