[Remind-Fans] Struggle with some specific reminders

Dianne Skoll dianne at skoll.ca
Mon Jul 4 19:18:04 EDT 2022


On Tue, 5 Jul 2022 00:09:26 +0200 (CEST)
l0f4r0--- via Remind-fans <remind-fans at lists.skoll.ca> wrote:

[...]

> Considering this new information, here is my reminder:
> REM 1 Thursday December -4 MSG Start of Advent

If you make this reminder file:

   REM 1 Thu Dec --4 MSG Advent 1
   REM Sun 27 Nov MSG Advent 2

and run:

   remind -p2000 adv.rem | grep Advent

you will see that the reminders are equivalent. :)

> However, now I'm struggling with the 2nd Sunday of Advent, 3rd and
> 4th...

Just add 7 to the first, and so on, to get:

REM Sun 27 Nov MSG First Sunday of Advent
REM Sun  4 Dec MSG Second Sunday of Advent
REM Sun 11 Dec MSG Third Sunday of Advent
REM Sun 18 Dec MSG Fourth Sunday of Advent

> By the way, do you confirm there is no way to add days to a date not
> written in the 'YYYY-MM-DD' form? Otherwise, I could save Start of
> Advent inside a variable and then add 7, 14 and 21 days for all the
> other Sundays...

That generally is a bad idea; it tends to break the Remind algorithm.

Regards,

Dianne.


More information about the Remind-fans mailing list