[Remind-Fans] issue warnings for impossible UNTIL ranges

Dianne Skoll dianne at skoll.ca
Wed Mar 2 19:14:49 EST 2022


On Wed, 2 Mar 2022 14:38:34 -0500
"Ian! D. Allen via Remind-fans" <remind-fans at lists.skoll.ca> wrote:

> > > Could remind be coaxed into issuing a warning for impossible
> > > constant date "UNTIL" and "THROUGH" ranges such as:
> > >     REM Mar  1 2022 *1 UNTIL Mar 30 2021 MSG test  

> We also need a warning for a FROM date that precedes an UNTIL date:

>     REM Mon Thu FROM 23 Jul 2022 UNTIL 2 Aug 1999 MSG Test

> We also need a warning for a failure to specify a repeat factor with
> UNTIL using a specific start date, e.g. this should produce a warning
> about a missing repeat factor:

>     REM 1992-11-30 UNTIL 1992-12-04 MSG Jury duty

> I can't offhand think of a legitimate use of UNTIL with a
> fully-specified start date and no repeat factor, so remind should
> tell me so.

All of the above warnings are implemented in git master.  Specific
commits are:

https://git.skoll.ca/Skollsoft-Public/Remind/commit/b36c99a34bb7e7f08bdbf977353a62a4df93ba2f
https://git.skoll.ca/Skollsoft-Public/Remind/commit/0276ce322daaeb94ba11e22fd8ced155d0bc0216
https://git.skoll.ca/Skollsoft-Public/Remind/commit/1453be83b298a244171624a4ac1105c79b20dbe9
https://git.skoll.ca/Skollsoft-Public/Remind/commit/6d2bbbd7e22e5a2646b902dd68eb029dda5726e2

Regards,

Dianne.


More information about the Remind-fans mailing list