Skip to content

feat: add due date field to tasks - #19

Open
ashudhanda wants to merge 1 commit into
tonysong8:mainfrom
ashudhanda:feat/task-due-date
Open

feat: add due date field to tasks#19
ashudhanda wants to merge 1 commit into
tonysong8:mainfrom
ashudhanda:feat/task-due-date

Conversation

@ashudhanda

Copy link
Copy Markdown

Implements the due date feature requested in #4.

Changes

  • POST /tasks now accepts a dueDate (ISO 8601 string) and rejects invalid values with a 400 error
  • GET /tasks supports filtering with ?overdue=true (returns tasks whose dueDate is in the past and whose status is not done)
  • PUT /tasks/:id can update dueDate (with the same validation; null clears the due date)

Notes

  • Added an isValidDueDate helper using Date.parse for ISO 8601 validation
  • Existing filters (status, priority, assignee) are unchanged and compose with overdue

Closes #4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant