The definitions for Yom Hazikaron and Yom Ha'atzmaut in the defs.rem that ships with remind should read as follows:

# If 4 Iyar is a*Thursday or*  Friday, then Yom Hazikaron is
# the Wednesday before and Yom Ha'atzmaut is on
# Thursday.  If 4 Iyar is a Sunday, then Yom Hazikaron
# moves to 5 Iyar and Yom Ha'atzmaut to 6 Iyar.
IF*WKDAYNUM(_h2(4, "Iyar")) == 4 ||*  WKDAYNUM(_h2(4, "Iyar")) == 5
        [_h(2, "Iyar")] ++4 MSG %"Yom Hazikaron%" is %b.%
        [_h(3, "Iyar")] ++4 MSG %"Yom Ha'atzmaut%" is %b.%
ELSE
IF WKDAYNUM(_h2(4, "Iyar")) == 0
        [_h(5, "Iyar")] ++4 MSG %"Yom Hazikaron%" is %b.%
        [_h(6, "Iyar")] ++4 MSG %"Yom Ha'atzmaut%" is %b.%
ELSE
        [_h(4, "Iyar")] ++4 MSG %"Yom Hazikaron%" is %b.%
        [_h(5, "Iyar")] ++4 MSG %"Yom Ha'atzmaut%" is %b.%
ENDIF
ENDIF

The needed changes are shown in bold.

Ref: https://en.wikipedia.org/wiki/Independence_Day_(Israel)#Timing

Also, the defs.rem on the remind wiki doesn't match the one distributed with the source code and is even more wrong for these holidays.

  jik



_______________________________________________
Remind-fans mailing list
[email protected]
http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/remind-fans
Remind is at http://www.roaringpenguin.com/products/remind

Reply via email to