[Remind-Fans] Remove reminders at vacation days

Jostein Berntsen jbernts at broadpark.no
Sat Jun 26 05:20:05 EDT 2010


On 25.06.10,20:30, David F. Skoll wrote:
> Jostein Berntsen wrote:
> 
> > FSET vacation_2010(x) (evaltrig("2010-06-30 *1 UNTIL 2010-07-05") == x) || \
> >                       (evaltrig("2010-07-11 *1 UNTIL 2010-07-26") == x) || \
> >                       (evaltrig("2010-08-30 *1 UNTIL 2010-09-09") == x) || \
> >                       (evaltrig("2010-10-01 *1 UNTIL 2010-10-09") == x)
> 
> Ah, I see the problem.  I defined vacation_2010 incorrectly. :(  It doesn't
> work in all situations.  Here is a correct definition:
> 
> FSET vacation_2010(x) (evaltrig("2010-06-30 *1 UNTIL 2010-07-05", x) == x) || \
>                       (evaltrig("2010-07-11 *1 UNTIL 2010-07-26", x) == x) || \
>                       (evaltrig("2010-08-30 *1 UNTIL 2010-09-09", x) == x) || \
>                       (evaltrig("2010-10-01 *1 UNTIL 2010-10-09", x) == x)
> 

That worked perfectly, thanks!


Jostein






More information about the Remind-fans mailing list