Skip to content

Commit

Permalink
fix due notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
mrvladus committed May 14, 2024
1 parent bf71239 commit 344ac17
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions errands/lib/notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ def due_tasks(self) -> list[TaskData]:
for t in UserData.tasks
if t.due_date
and datetime.fromisoformat(t.due_date) < now
and not t.deleted
and not t.completed
and not t.trash
and not t.notified
]

Expand Down

0 comments on commit 344ac17

Please sign in to comment.