Forum for Hebcal.com - Free Jewish holiday calendars, Hebrew date converters and Shabbat times
0
Answered

Jewish calendar REST API return zmanim for people that are located in Israel and keep 2 days yom tov

F. G. 4 months ago updated by Michael J. Radwin 4 months ago 1

I'm using the Hebcal Jewish calendar REST API for an app that shows weekly zmanim (candle lighitng and havdalah times).

We have people that live in Israel and keep 2 days yomtov. Is there a way to call the API for a location in Israel and get back the holidays in 2 days?

For example, if I call the following:

https://www.hebcal.com/hebcal?v=1&cfg=json&maj=on&start=2024-06-09&end=2024-06-17&c=on&geo=city&city=IL-Jerusalem&M=on&s=on&leyning=off

Can I see 2 days shevuos (June 12 & June13) like I see when calling this api for a location outside of Israel?

Answer
Michael J. Radwin 4 months ago

Hi, thank you for using the Hebcal APIs.

You are correct that if you specify a location in Israel such as Jerusalem, the API automatically assumes only one day of yom tov. There is no way to disable the Israel holiday schedule if you specify a city for candle-lighting and fast times.

You can work around this by making two separate calls to the API, and then merge the results together in your application. 


The first would be for Diaspora holidays and Torah readings only, like the following:


https://www.hebcal.com/hebcal?v=1&cfg=json&maj=on&start=2024-06-09&end=2024-06-17&c=off&i=off&M=on&s=on&leyning=off

The second could be for Jerusalem candle-lighting times only, with no holidays or Torah reading:

https://www.hebcal.com/hebcal?v=1&cfg=json&maj=off&start=2024-06-09&end=2024-06-17&c=on&geo=city&city=IL-Jerusalem&M=on&s=off

Note carefully the URL differences. The first URL uses c=off s=on maj=on. The second URL uses c=on s=off maj=off

We hope this helps!

0
Answered

Pulling weekday vs weekend chagim

NatiG 4 months ago updated by Michael J. Radwin 4 months ago 1

I'm looking to calculate for each chag, what the probability is that the full-day of chag will fall on a workday (Monday - Friday) and what is the probability of a weekend (Saturday-Sunday) over the 19 year cycle.

I would be as happy to have a way to look at probability by day of the week.

I prompted ChatGPT and other AI bots, but they all got the dates totally wrong.

Is there a way to easily pull this from hebcal?

Answer
Michael J. Radwin 4 months ago

Hi, thanks for your message. This is pretty easy to calculate using the Hebcal command-line interface. Here's the general idea:


$ hebcal --chag-only -w | egrep -v "(Erev|CH''M|Hoshana)"

4/23/2024 Tue, Pesach I

4/24/2024 Wed, Pesach II

4/29/2024 Mon, Pesach VII

4/30/2024 Tue, Pesach VIII

6/12/2024 Wed, Shavuot I

6/13/2024 Thu, Shavuot II

10/3/2024 Thu, Rosh Hashana 5785

10/4/2024 Fri, Rosh Hashana II

10/12/2024 Sat, Yom Kippur

10/17/2024 Thu, Sukkot I

10/18/2024 Fri, Sukkot II

10/24/2024 Thu, Shmini Atzeret

10/25/2024 Fri, Simchat Torah

Now we need to just count how many times each holiday occurs on Sat or Sun versus another day


$ hebcal --chag-only -w --years 100 2000 | egrep -v "(Erev|CH''M|Hoshana)" | grep "Yom Kippur" | egrep "(Sat|Sun)," | wc -l

32


Here is a summary:

  • Rosh Hashana: 58 / 200 chag days on Saturday or Sunday
  • Yom Kippur: 32 / 100 days on Saturday or Sunday
  • Sukkot: 58 / 200 chag days on Saturday or Sunday
  • Pesach: 117 / 400 chag days on Saturday or Sunday
  • Shavuot: 56 / 200 chag days on Saturday or Sunday

Note that we used a 100 year window to approximate. Note that has little to do with the 19-year cycle and more to do with the interaction between the Hebrew and Gregorian calendars. See the Jewish-Gregorian calendar correspondence cycle for more details on that. A calculation can be done with 1000 years, yielding similar results.

A similar calculation could be done for Israel if you add the -i flag, and adjust for the Israeli weekend (Friday + Saturday).

0

The Yesod veshoresh hovodah says to bring Mashiach, do good to people who did bad to you. He says it from Zohar that this stops tragedies and antisemitism. Pray for people who hurt you to get the most Olom Habah and then pray for Mashiach and for everyon

thankyou1827 4 months ago 0

The Yesod veshoresh hovodah says to bring Mashiach, do good to people who did bad to you. He says it from Zohar that this stops tragedies and antisemitism. Pray for people who hurt you to get the most Olom Habah and then pray for Mashiach and for everyone to have Techiyas hameisim. Put this sign in shul, Email this to everyone

0
Answered

Engish only displa

HebCal User 4 months ago updated by Michael J. Radwin 4 months ago 2

Hello,

I created a calendar several years ago, downloaded it and then imported it into my Google account.

This was before the "counter" was implemented into the calendar (that Heb Cal added "3rd Hebrew Birthday" or "2nd Yahrzeit" text before the persons name).


As the family expanded (or לא עלינו shrunk), I added more events to the calendar. At one point I noticed the change that the "counter" was added. It is a great idea and I loved it. Prior to the counter I added to the persons name the year of birth or passing and then one could calculate how many years past.


I wanted now to add another event to the calendar.

But, I noticed a change - the "counter" is now in Hebrew (יארצייט ה-2 של Itzhak ben Avraham) and I don't see how to change it to English.

I browsed through the "help" section and unfortunately did no find an answer.


Is it possible to change the "יארצייט ה-2" to English (I know it's possible to open the calendar file on notepad++ and change it manually, but I hope it's possible to do it through Heb Cal website prior of downloading the file).


If it makes any difference, I live in Israel. But, I also tried doing it through a US IP and no change.

Computer details - OS: Win 10 || Region: Israel  || Region format: English (Israel) || OS Language: English US.


Thank you!

Answer
Michael J. Radwin 4 months ago

Based on your feedback, we have made a minor change to the calendar events. If the name contains BOTH Hebrew letters and also English letters, the anniversary titles will once again be rendered in English. If the name contains at least one Hebrew letter (א through ת‎) and contains no English letters (A-Z), then the anniversary title will continue to be rendered in Hebrew.

0
Completed

November 30 Error?

Jay Goodman 4 months ago updated by Michael J. Radwin 4 months ago 6

November 30 is showing "Mevarchim."

Should it be "Machar Chodesh?"

Thanks

Answer
Michael J. Radwin 4 months ago

Thanks for your message!

The Hebrew Date Converter page for Sat, 30 November 2024 correctly lists the Torah portion as Parashat Toldot

If you look at the Parashat Toldot detail page, you will see that indeed it already lists the special Machar Chodesh Haftarah

0
Answered

Problem with Subscribed Calendar Link

Joseph 4 months ago updated by Michael J. Radwin 4 months ago 5

Created a subscribed calendar link which originally contained only Yahrzeit's. I have now started adding birthdays and anniversaries. The name has changed to Hebrew Anniversaries. However the subscribed link ends with name Yahrzeit.ics. This is weirding me out. Happy to try to copy over my calendar  and create a new link but don't want to do one event at a time. Any solutions?

0
Answered

Mountain Standard Time not showing up on calendar even though I put in Arizona

ewbecker 4 months ago updated by Michael J. Radwin 4 months ago 2
Answer
Michael J. Radwin 4 months ago

Thank you for corresponding with us privately, the information you provided was very helpful. We've fixed the issue on the Hebcal website, and Arizona ZIP codes now correctly follow the Daylight Saving Time rules. Our apologies for the inaccuracy.

0
Answered

Hello. What happened to the audio line by line recording of the aliyah? This was helpful!

benjamin gerson 4 months ago updated by Michael J. Radwin 4 months ago 1
Answer
Michael J. Radwin 4 months ago

https://www.hebcal.com/home/498/torah-trope-chanting-audio-leyning

In addition to providing details about the weekly Torah readings, Hebcal makes it convenient to listen to the audio of a professional cantor chanting Torah trope.

If you visit the Hebcal parsha pages from a larger display (desktop/laptop computer or a tablet), you can click the speaker icon to visit Sefaria‘s embedded PocketTorah audio.


The Sefaria native mobile app does not currently support the PocketTorah audio, so the Hebcal speaker icons are not displayed on mobile phones. The audio is displayed only on Sefaria website and depends on a larger screen, such as a desktop/laptop computer or a tablet.

0
Completed

Please add credit to the two Jewish authors behind the Hebcal algorithms

Tomer 5 months ago updated by Michael J. Radwin 5 months ago 1

The Hebcal UNIX program was a C reimplementation of the calendar code found in the Emacs text editor. That was written by Prof. Edward Reingold, who wrote a book on calendar algorithms with Nahum Dershowitz. I think it would be showing kavod to include both their names under the "About" page on Hebcal.org, as they are the ones who contributed the core technology. Here is a page with more information:

http://hebcal.github.io/

https://www.emacswiki.org/emacs/EdwardReingold

Thanks,

~Tomer Altman

Answer
Michael J. Radwin 5 months ago

Thanks for the suggestion. We updated our "about Hebcal" page as follows

Hebcal was created in 1992 by Danny Sadinoff as a Unix/Linux program, derived in large part from the Emacs 19 calendar routines by Edward M. Reingold and Nachum Dershowitz.

https://www.hebcal.com/home/about

0
Completed

Hi. Is there a calendar download option in excel?

dkatz 5 months ago updated by Michael J. Radwin 5 months ago 1