Skip to content

Feature/task due time#754

Open
kaviyaa2511 wants to merge 2 commits into
aryandas2911:mainfrom
kaviyaa2511:feature/task-due-time
Open

Feature/task due time#754
kaviyaa2511 wants to merge 2 commits into
aryandas2911:mainfrom
kaviyaa2511:feature/task-due-time

Conversation

@kaviyaa2511
Copy link
Copy Markdown

📌 Description

Added support for task due date and time using datetime-local.

🔗 Related Issue

Closes #719

🛠 Changes Made

  • Replaced date input with datetime input
  • Added datetime persistence while editing tasks
  • Fixed datetime formatting issues in edit mode
  • Fixed timezone/local datetime handling
  • Updated countdown behavior to work with exact task times

Testing

  • Created tasks with date and time
  • Edited tasks and verified datetime persistence
  • Tested countdown updates
  • Verified MongoDB storage and retrieval

📸 Screenshots (if applicable)

Screenshot 2026-05-19 131155 img1 Screenshot 2026-05-19 135124

✅ Checklist

  • [Y ] Code runs locally
  • [Y ] Followed project structure
  • [Y] No console errors
  • [Y ] Properly tested changes
  • [Y ] Linked the issue

🚀 Notes for Reviewers

Implemented datetime support for task due dates using datetime-local.

Additional fixes included:

  • Preserved datetime values while editing tasks
  • Fixed timezone/local datetime formatting issues
  • Updated countdown behavior to work with exact task times

Tested locally with:

  • task creation
  • task editing
  • page refresh persistence
  • MongoDB storage/retrieval

Some optional enhancements mentioned in the issue (such as optional start/end time and expanded dashboard time display) were intentionally left out to keep this PR focused and stable.

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.

[FEATURE] Add Optional Time-Based Deadlines for Tasks

1 participant