[Remind-Fans] sat->fri and sun->mon
hymie at nasalinux.net
hymie at nasalinux.net
Thu Feb 3 20:03:58 EST 2022
I'm not sure if this is an FAQ, but I didn't see it in the remind man page.
I'm familiar with the BEFORE and AFTER keywords ... but I wonder if
it would be hard to add a single keyword for "Move Saturday to Friday and
Move Sunday to Monday" for things like Veterans Day.
Right now I have:
rem 11 nov scanfrom [trigger(today()-7)] satisfy 1
if (wkdaynum(trigdate()) == 6)
omit 10 nov msg veterans day
else
if (wkdaynum(trigdate()) == 0)
omit 12 nov msg veterans day
else
omit 11 nov msg veterans day
endif
endif
... but it would be cool to have a single
rem 11 nov NOTWEEKEND scanfrom [trigger(today()-7)] msg veterans day
--hymie!
More information about the Remind-fans
mailing list