MCPcopy Create free account
hub / github.com/GreatStackDev/project-management / getTasksForDate

Function getTasksForDate

src/components/ProjectCalendar.jsx:24–24  ·  view source on GitHub ↗
(date)

Source from the content-addressed store, hash-verified

22
23 const today = new Date();
24 const getTasksForDate = (date) => tasks.filter((task) => isSameDay(task.due_date, date));
25
26 const upcomingTasks = tasks
27 .filter((task) => task.due_date && !isBefore(task.due_date, today) && task.status !== "DONE")

Callers 1

ProjectCalendarFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected