Exit early if a reminder has expired.

This commit is contained in:
Dianne Skoll
2025-11-04 17:05:02 -05:00
parent a5aa5d901b
commit 57e93553bf

View File

@@ -2078,6 +2078,10 @@ static int DoCalRem(ParsePtr p, int col)
FreeTrig(&trig);
return OK;
}
if (dse < 0) {
/* Expired */
return OK;
}
} else {
/* Calculate the trigger date */
EnterTimezone(trig.tz);
@@ -2090,6 +2094,10 @@ static int DoCalRem(ParsePtr p, int col)
FreeTrig(&trig);
return r;
}
if (dse < 0) {
/* Expired */
return OK;
}
}
/* Adjust trigger date/time to time zone */