[Remind-Fans] Yom Hazikaron / Yom Ha'atzmaut in defs.rem isn't quite correct

Jonathan Kamens jik at kamens.us
Thu Apr 19 11:39:51 EDT 2018


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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.roaringpenguin.com/pipermail/remind-fans/attachments/20180419/2819baf9/attachment.html>


More information about the Remind-fans mailing list