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) {
_______________________________________________
Remind-fans mailing list
[email protected]
https://dianne.skoll.ca/mailman/listinfo/remind-fans
Remind is at https://dianne.skoll.ca/projects/remind/

Reply via email to