Incorrect Parasha on sundays
I'm making a calendar app that displays zmanim and the parasha of a selected date, I'm using the shabbat times REST API to get the parasha and it works great with the exception of sundays, where I get the parsha of last week.
Take this call for example https://www.hebcal.com/shabbat?cfg=json&m=45&gy=2022&gm=05&gd=01&lg=es&latitude=19.4349023&longitude=-99.2069489
The parasha of that day should be Kedoshim, but the API is giving the parasha of last week Ajarei Mot.
What am I doing wrong?
Answer
Hi, thanks for using the Hebcal APIs, and thanks for the bug report.
You aren't doing anything wrong - it looks like you found a bug in our timezone logic!
We believe we have fixed the issue and deployed a change. Please take a look and let us know if it seems to be working correctly now.
Customer support service by UserEcho
Hi, thanks for using the Hebcal APIs, and thanks for the bug report.
You aren't doing anything wrong - it looks like you found a bug in our timezone logic!
We believe we have fixed the issue and deployed a change. Please take a look and let us know if it seems to be working correctly now.