Shavuos in Elul?
Ishayahu opened this issue · 3 comments
Ishayahu commented
today
HebrewDate(5782, 5, 27)
(today+10)
HebrewDate(5782, 6, 7)
(today+10).month_name()
'Elul'
(today+10).holiday()
'Shavuos'
Ishayahu commented
your error is in utils.py at line 256:
elif month == 3 and day == 6 or (not israel and day == 7)
for month=6 and day=7 it results in
False and False or True == True
it should be
elif month == 3 and (day == 6 or (not israel and day == 7))
then it will be
False and (False or True) = False and True = False
simlist commented
Thank you! I'll try to have a fix out asap.