[Remind-Fans] Remind 03.03.09 90min DURATION Bug?

Dianne Skoll dianne at skoll.ca
Sun Nov 21 10:26:21 EST 2021


On Sat, 20 Nov 2021 10:10:56 -0800
Edward Shapard via Remind-fans <remind-fans at lists.skoll.ca> wrote:

> Contents of "test.rem":
> > REM 20 NOV 2021 AT 13:00 DURATION 90 MSG Meeting

> Running `remind -s1 test.rem` yields:
> > 2021/11/20 * * 1995 780 1:00pm-10:15pm+1 Meeting
> > 2021/11/21 * * 1335 0 12:00am-10:15pm Meeting

> Any Duration outside of 90-99 seems to work as expected.
> With DURATION set to 100:
> > 2021/11/20 * * 100 780 1:00-2:40pm Meeting

> Setting DURATION to 1:30 works as expected:
> > 2021/11/20 * * 90 780 1:00-2:30pm Meeting

> Can anyone replicate this?

It is arguably a bug in Remind... definitely a misfeature.  Remind's
tokenizer converts numbers between 90 an 99 to 1990-1999 in a
badly-conceived attempt to support two-digit years back in the late
1990s.

I've removed this behavior for the upcoming release:
https://git.skoll.ca/Skollsoft-Public/Remind/commit/a83bf495b1e0b03d996be23e195ddac25f0106f4

If anyone has Reminder files with things like:

   REM 10 Jan 96 MSG This happens on 10 Jan 1996!

they will stop working in 03.03.10. :)

For now, the workaround is to always specify a DURATION as HH:MM rather
than a plain number.

Regards,

Dianne.


More information about the Remind-fans mailing list