First part of patch to fix ADAR behaviour

This commit is contained in:
Dianne Skoll
2018-12-11 10:04:05 -05:00
parent bbda972b05
commit f9951909d8
2 changed files with 14 additions and 0 deletions

View File

@@ -1150,6 +1150,18 @@ Global Full OMITs (16 of maximum allowed 500):
2010-12-27
Global Partial OMITs (1 of maximum allowed 366):
12-25
# Regression test for bugfix in Hebrew calendar Adar jahrzeit
[_i(14, "Adar", today(), 5761)] MSG Purim
today() => 1991-02-16
Entering UserFN _i(14, "Adar", 1991-02-16, 5761)
x => 14
y => "Adar"
z => 1991-02-16
a => 5761
hebdate(14, "Adar", 1991-02-16, 5761) => 1991-02-28
trigger(1991-02-28) => "28 February 1991"
Leaving UserFN _i() => "28 February 1991"
../tests/test.rem(317): Trig = Thursday, 28 February, 1991
Test 2

View File

@@ -313,6 +313,8 @@ OMIT December 25 MSG X
# Next should give a parse error
OMIT 26 Dec 2010 THROUGH 27 Dec 2010 MSG This is not legal
OMIT DUMP
# Regression test for bugfix in Hebrew calendar Adar jahrzeit
[_i(14, "Adar", today(), 5761)] MSG Purim
__EOF__
REM This line should not even be seen
And you can put whatever you like here.