Open PupaRebbe opened 2 hours ago
Thanks for this suggestion. I don't know when we will get around to implementing such a feature of the Sedra
class, but we agree in principle that it's a good idea.
Please note that the getLeyningOnDate
function in the @hebcal/leyning
package already handles weekday readings like this week correctly.
https://hebcal.github.io/api/leyning/functions/getLeyningOnDate.html
Currently, the SedraResult for a week that has no Parsha (like this week) contains only the name of the Chag, in other words: it's now Monday Parshat Yom Kipur... I would suggest to add a property to the SedraResult that contains the Torah reading for Monday-Thursday of this week which is always the next Parsha (and preferably an index too, so today will be Monday Parshat Vezot Haberakhah 1 and next monday will be Monday Vezot Haberakhah 2). I've tried to implement it myself but i have a problem with Vezot Haberakhah that is the weekday reading after Shabbat Ha'azinu but is not in the parshiot array. Thanks