commenthol / date-holidays-parser

parser for worldwide holidays
ISC License
46 stars 22 forks source link

fix(CalEventMap): 2nd date in calendar can't be reached #40

Closed commenthol closed 2 years ago

commenthol commented 2 years ago

CalEventMap loops over dates in the non-gregorian calendar but breaks early. For some dates the exact given date can't be calculated. Loop continuation fixes this issue.

refactor: hijri calendar map generation to improve readability The resulting map is still the same.