On Fri, 1 Aug 2025 09:36:31 -0500 Tim Chase via Remind-fans <[email protected]> wrote:
> (taken from https://dianne.skoll.ca/wiki/Defs.rem FWIW) Yikes!!! That file is horribly obsolete and hasn't been updated in forever. I should fix that. The current defs.rem looks like this: --------------------------------------------------------------------- # If it falls on a Saturday, bump to previous Friday REM 3 JULY SCANFROM -7 ADDOMIT SATISFY [$Tw == 5] MSG Independence day (observed) # If it falls on a Sunday, bump to following Monday REM 5 July SCANFROM -7 ADDOMIT SATISFY [$Tw == 1] MSG Independence day (observed) # If it falls on Sat or Sun, note the actual day REM 4 July SCANFROM -7 ADDOMIT SATISFY [$Tw == 0 || $Tw == 6] MSG Independence day (actual) # Otherwise observed and actual is on the 4th REM 4 July SCANFROM -7 ADDOMIT SATISFY [$Tw >= 1 && $Tw <= 5] MSG Independence Day --------------------------------------------------------------------- > $ remind -q july4.rem 2026-7-5 > july4.rem(13): `-': Date overflow I cannot replicate that. I get this: $ remind -q jul4.rem 2026-7-5 No reminders. I note that in your output of "cat july4.rem", line 13 reads: TRIGDATE()-1] MSG Independence day (observed) which is malformed. I'll update the wiki, though! Regards, Dianne. _______________________________________________ Remind-fans mailing list [email protected] https://dianne.skoll.ca/mailman/listinfo/remind-fans Remind is at https://dianne.skoll.ca/projects/remind/
