mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-16 06:18:47 +02:00
Fix TODO-issuing logic
This commit is contained in:
@@ -1659,7 +1659,7 @@ int ShouldTriggerReminder(Trigger const *t, TimeTrig const *tim, int dse, int *e
|
||||
/* TODOs are handled differently */
|
||||
if (t->is_todo && !calmode) {
|
||||
/* Do NOT trigger if TODO has been completed through today (or later) */
|
||||
if (t->complete_through != NO_DATE && t->complete_through >= DSEToday) {
|
||||
if (t->complete_through != NO_DATE && t->complete_through >= DSEToday && dse <= t->complete_through) {
|
||||
return 0;
|
||||
}
|
||||
/* DO trigger if has not been completed through trigger date */
|
||||
|
||||
Reference in New Issue
Block a user