Chanukah candle lighting times inconsistent
I am trying to get the Chanukah candle lighting times to display correctly on my website (http://maoztzur.info/).
I want to display it based on the user's IP address. I retrieve the user's coordinates via plugging their IP address into the freegeoip API.
I am testing it with location set to Jerusalem by manually plugging in latitude 31.7833 and longitude 35.2167, which is what Google returns for Jerusalem. However for today this returns a time of 5:47pm, whereas https://www.hebcal.com/shabbat/?city=IL-Jerusalem returns a time of 5:25pm.
Any idea as to where this discrepancy comes from?
Thanks
Mevarchim Chodesh
Is it possible to show when it is mevarchim chodesh from the API? I can see there's a provision for it starting on line 462 of the gen_luach.pl file, but I don't see a way to call it from the REST API
candle lighting
Can I import more than a one year calendar to outlook
I was able to create a calendar and then subscribe so I can view it in outlook, but it is only a one year calendar and I want to be able to see Hebrew dates etc. a few years into the future. How do I do that?
Set iPhone notification time
Hi, Love your site. There is any way to set the notification time before downloading the calendar to my iPhone? The reason I'm asking is because when I select the "Show Hebrew date for dates with some event", i'm getting the notification for the Hebrew date 2 days before. (For example, for each candle lighting in Friday, I'm getting date notification on Wednesday) Thanks, Erez.
Hi, sorry to hear that you're having trouble with default notifications on the iPhone calendar. Our calendar feeds do not specify any alarms.
We'd recommend going to Settings, then Mail, Contacts, Calendars, then scroll down to the Calendars section and choose Default Alert Times:
Then be sure to check None for All-Day Events
Is the Shabbat times REST API return rsults about holiday too?
Hi,
Yes, our Shabbat API returns some limited information about holidays. If you look at the documentation, you'll see an example where one of the item
s has a category
of holiday
.
Is it possible to calculate havdalah times based on 8.5 degrees rather than minutes?
In August 2020 we updated our solar calculation engine, which enabled this feature.
Havdalah can now be calculated according to tzeit hakochavim, the point when 3 small stars are observable in the night time sky with the naked eye. The new default Havdalah option is calculated when the sun is 8.5° below the horizon. This option is an excellent default for most places on the planet. We still offer the option to use a fixed number of minutes past sundown (e.g. 42 min for three medium-sized stars, 50 min for three small stars, 72 min for Rabbeinu Tam) which works well for Israel, most of the USA and Europe.
https://www.hebcal.com/home/1548/hebcal-2020-year-end-updates
Feed to Wordpress inverted
When we added the Hebcal feed to our wordpress BETA site the feed presents Havdalah first, then Parashat hashavuah and then candle lighting time, in reverse order. How can we make the correct order? Thanks.
Thanks for your message. Sorry for the inconvenience!
To fix the problem, please edit the Hebcal candle-lighting times RSS feed to add the text &pubDate=0
to the end of the URL. For example, if the URL you were using looks like this:
http://www.hebcal.com/shabbat/?cfg=r&geonameid=281184&i=on&m=50
Change it to this:
http://www.hebcal.com/shabbat/?cfg=r&geonameid=281184&i=on&m=50&pubDate=0
Shabbat times REST API response missing a header
example request showing the problem:
XMLHttpRequest cannot load http://www.hebcal.com/shabbat?cfg=json&geo=pos&latitude=31&longitude=35&m=50&tzid=Asia%2FJerusalem. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
the jewish calendar api is ok.
Hi, thanks for using Hebcal.
As of August 2020, the trailing slash after "converter" or after "shabbat" is now optional.
All of the following will work correctly with the CORS header without triggering a 301 redirect
https://www.hebcal.com/shabbat?cfg=json
https://www.hebcal.com/shabbat/?cfg=json
https://www.hebcal.com/converter?cfg=json
https://www.hebcal.com/converter/?cfg=json
http://www.hebcal.com/shabbat?cfg=json
http://www.hebcal.com/shabbat/?cfg=json
http://www.hebcal.com/converter?cfg=json
http://www.hebcal.com/converter/?cfg=json
The Hebcal website generally requires https for most pages but still allows http for any URL with cfg=json.
Triennial Torah reading cycle
Customer support service by UserEcho