[Remind-Fans] Remind fixes in git

Dianne Skoll dianne at skoll.ca
Sat Feb 22 19:18:19 EST 2020


On 2020-02-22 18:05, Larry Hynes via Remind-fans wrote:

> Hmmmm... building from latest git, the line:

> 	REM SATISFY [day(trigdate()-25) == 14] MSG Foo

> gives the error:

> 	test.rem(1): `-': Date overflow

Ugh.  That was a stupid cut-n-paste error.  Fixed in commit
725e046a154c78c70aad9ca47fc4ec69293da9ad

Regards,

Dianne.

diff --git a/src/dorem.c b/src/dorem.c
index cf64819..5780a65 100644
--- a/src/dorem.c
+++ b/src/dorem.c
@@ -1121,7 +1121,7 @@ int DoSatRemind(Trigger *trig, TimeTrig *tt, ParsePtr p)
            LastTriggerTime = tt->ttime;
            SaveLastTimeTrig(tt);
            SaveLastTrigger(trig);
-           LastTriggerDate = r;
+           LastTriggerDate = jul;
            LastTrigValid = 1;
        }
        if (jul == -1) {


More information about the Remind-fans mailing list