[Remind-Fans] Remove reminders at vacation days

David F. Skoll dfs at roaringpenguin.com
Fri Jun 25 20:30:35 EDT 2010


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)

Regards,

David.



More information about the Remind-fans mailing list