Closed lukecarbis closed 9 years ago
I just discovered that there is, in fact, a parameter (b
) for the candle lighting offset, it's just not documented on the Shabbat Times Rest API page.
But I have tested and it works.
Feel free to close this ticket, or if you wanted to update the docs first, and then close it, that works too.
Updated the documentation to explicitly mention the b
parameter. Thanks!
Currently there is a
m
parameter, to specify a minutes after sundown for Havdalah times.However, there is no parameter for specifying minutes before sunset for Candle Lighting times.
While most of the world uses 18 minutes, here in Jerusalem we light the candles at 40 minutes before sunset.
My proposal is to retain the
m
parameter, for backward compatibility, but introduce two new parameters:cl_offset=18
- Candle Lighting offset minutes before sunset, defaults to 18h_offset=50
- Havdalah offset minutes after sunset (exactly the same as them
parameter)Here are some references on the topic: Judaism Stack Exchange question Chabad.org candle lighting times use 40 minutes for Jerusalem