Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weekday Torah reading #453

Open
PupaRebbe opened this issue Oct 8, 2024 · 1 comment
Open

Weekday Torah reading #453

PupaRebbe opened this issue Oct 8, 2024 · 1 comment

Comments

@PupaRebbe
Copy link

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

@mjradwin
Copy link
Member

mjradwin commented Oct 8, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants