On Sat, 7 Jun 2025 08:47:10 -0400
Dianne Skoll via Remind-fans <remind-fans@lists.skoll.ca> wrote:

> > I think it's as simple as adding
> >     { "fifth",          5,      T_Ordinal,      4 },
> Have you tested it? :)

I'll expand on why this doesn't work.  The key thing to note is this:
Given a weekday $W, every month has a first, second, third, fourth and
last $W, but not every month has a fifth $W.

In fact, the only way to express "the fifth Tuesday in June" is with
a SATISFY clause.  At least, it's the only way I can think of to do it:

REM Tuesday June SATISFY [$Td >= 29] MSG Fifth Tuesday in June

So the simple-minded formula used to convert First/Second/Third/Fourth
will not work for Fifth.

Regards,

Dianne.
_______________________________________________
Remind-fans mailing list
Remind-fans@lists.skoll.ca
https://dianne.skoll.ca/mailman/listinfo/remind-fans
Remind is at https://dianne.skoll.ca/projects/remind/

Reply via email to