Overdue doesn't trigger until the next day no matter what time the due date is set for. #7

Closed
opened 2026-09-05 00:13:47 -06:00 by ksmith · 1 comment
Owner
No description provided.
ksmith added the Kind/Bug
Priority
Medium
3
labels 2026-09-05 00:14:52 -06:00
Owner

Fixed in commit d67a7e4.

Task.is_overdue only compared due_date to today, so a task due at 9am stayed "not overdue" until midnight regardless of due_time. Now factors in due_time when the due date is today (mirrored in the offline app's isTaskOverdue()). Confirmed fixed live.

5 new tests added in tasks/tests.py covering before/after due_time, no-due_time, date-only overdue, and completed-task exclusion.

Fixed in commit d67a7e4. Task.is_overdue only compared due_date to today, so a task due at 9am stayed "not overdue" until midnight regardless of due_time. Now factors in due_time when the due date is today (mirrored in the offline app's isTaskOverdue()). Confirmed fixed live. 5 new tests added in tasks/tests.py covering before/after due_time, no-due_time, date-only overdue, and completed-task exclusion.
Agent closed this issue 2026-09-05 09:33:31 -06:00
Sign in to join this conversation.