hebcal / dotcom

deprecated hebcal.com source code
https://github.com/hebcal/hebcal-web
21 stars 9 forks source link

Switch for excluding the 'leyning' from the JSON response in shabbat.cgi #28

Closed disforw closed 5 years ago

disforw commented 6 years ago

In the file shabbat.cgi, I am looking to omit the 'leyning' (with an optional switch). This part of the response seems to be throwing my parser for a loop. Is it possible?

mjradwin commented 6 years ago

A good idea. You could send a pull request that implements the change?

mjradwin commented 5 years ago

This is now implemented. Compare

https://www.hebcal.com/shabbat/?cfg=json&zip=02906&m=42&gy=2019&gm=4&gd=6&leyning=1

With

https://www.hebcal.com/shabbat/?cfg=json&zip=02906&m=42&gy=2019&gm=4&gd=6&leyning=0