Posted by & filed under News.

We’ve fixed an error with the observance of Yom HaShoah occurring adjacent to Shabbat. This year Yom HaShoah begins on Sunday, 7 April 2013 at sundown.

Previously Hebcal always used the date of the 27th of Nisan.

When the actual date of Yom Hashoah falls on a Friday, the state of Israel observes Yom Hashoah on the preceding Thursday. When it falls on a Sunday, Yom Hashoah is observed on the following Monday.

Posted by & filed under Download - General.

Follow these instructions to add a Hebcal Jewish holiday calendar 5-year feed to Joomla CMS via the JEvents extension. These instructions are courtesy of Yaniv Feldman from Fancy Design LLC. Thanks!

CONFIGURING

  • Under Components choose JEvents
  • From the JEvents control panel choose “Manage Categories”
  • Click the “New” (+plus icon) from the top toolbar to create a new category
  • Name your category, something like “Shabbat Times” (without quotes)
  • Set your own parameters (optional) – recommended: set “Check for overlapping events?” to “No” because Shabbat times shouldn’t be effected by other events.
  • Click “Save and Close” from the top toolbar.
  • From the JEvents control panel choose “Manage Calendars”
  • Click the “New” (+plus icon) from the top toolbar to create a new calendar
  • Choose a category under which you need this calendar created – ideally the one you’ve just create.
  • From the “From file” tab (bottom) choose the file you created on the preparation section of this document.
  • Wait patiently for the entire calendar to upload – this stage ends when you’re back in the JEvents control panel with a message under the JEvents logo which reads: “1457 iCal events processed ICS_FILE_IMPORTED” (The number may vary, depending on the amount of records added)

PREPARATIONS

  • To create a Shabbat Times calendar, which is based on your preferences, visit this URL:http://www.hebcal.com/hebcal/
  • After tweaking the settings to your need, click on “Create Calendar”.
  • From the top, click on “Download…”
  • From the popup window choose “Google Calendar” and then “Download”
  • Save the file where you can find it – you may rename it, but keep the file extension “.ics”

PRESENTING

  • To create a module for presentation, choose “Extensions > Module Manager” from the top menu
  • Click the “New” (+plus icon) from the top toolbar to create a new module
  • Choose “Latest JEvents” from the list of Module Types.
  • Name your module – I named it “Shabbat Times” (without quotes)
  • Select a position, if you need it anywhere on your website (AcyMailing doesn’t need any position so for that purpose, leave it blank)
  • From the “Basic Options”, under “Select Categories” choose “Shabbat Times” or whatever you named the JEvents category..
  • Leave all other settings “as is”. Recommended – Control the number of events shown under “Display Mode” – I choose option #0 (current/following week events) for the sake of the weekly newsletter.
  • Click Save & Close.

 

Posted by & filed under General.

We enjoyed reading Jonathan Mizrahi’s Hanukkah and Thanksgiving: A once in eternity overlap:

Next year features an anomaly for American Jews – The first day of Hanukkah coincides with Thanksgiving, on 11/28/2013 (meaning the first night of Hanukkah is actually the night before Thanksgiving). I was curious how often this happens. It turns out that it has never happened before…and it will never happen again.
(Correction: it happened once before, in 1888: see Addendum.)
Tip of the hat to Adam Trachtenberg for passing along the article.

Posted by & filed under Download - General.

Follow these instructions to subscribe to a Hebcal Jewish holiday calendar 5-year feed in Mozilla Thunderbird Lightning:

  1. Open Thunderbird with Lightning installed.
  2. Now, switch to calendar view by clicking the Calendar icon next to the tab bar. Next, go to the File menu, select New and select the Calendar… item.
  3. In the Add a calendar wizard, select On the network and click Next.
  4. From the Format list, select iCalendar (ICS) and enter the calendar location (with the “http://” prefix) that you just copied into the Address textbox. Click Next.
  5. Give the holiday calendar a name or leave the default value. If you want, you can select a color in which all of the holidays are highlighted. Click Next
  6. Click Finish to exit the wizard.

Here are some screenshots:

Thunderbird Lightning - Step 1

Thunderbird Lightning - Step 2

Thunderbird Lightning - Step 3

Thunderbird Lightning - Step 4

Posted by & filed under News, Observance.

Ta’anit Bechorot (Fast of the Firstborn) falls on Friday, April 6, 2012. An earlier version of the calendar we publish incorrectly had this minor fast on Thursday.

When this fast day falls on Friday, we do in fact observe the fast on Friday, even though Shabbat follows immediately.

It is only in years when the date of the fast falls on Shabbat that the fast is moved. In this case, Ta’anit Bechorot is moved back to Thursday, because it is preferable not to fast immediately before Shabbat.

Source: Mishnah Berurah: the classic commentary to Shulchan Aruch Orach Chayim, comprising the laws of daily Jewish conduct, Volume V (B), Pesach. §470: “That the first-born fast on Erev Pesach.”

Posted by & filed under News.

Hebcal.com got hit with a script injection virus this week but everything is fine now.

We had a stale copy of the WordPress content management system for our Help and News pages, so some malicious person/machine exploited a loophole. We have upgraded to the latest copy and have removed all traces of the virus from our website.

Our sincere apologies for any inconvenience we may have caused.

Posted by & filed under Download - iPhone, iPad, iOS, Download - removal.

To remove a Hebcal calendar from your iPhone or iPad, you’ll need to first determine if you subscribed via iCloud or whether you subscribed directly from your iOS device.

Subscribed via iCloud

  1. Click Edit in the sidebar.
  2. Click the Delete button  to the right of the calendar’s name.
  3. Click Delete Calendar.

Source: iCloud: Delete a calendar

Subscribed directly from iOS device

To remove a Hebcal calendar from your iPhone or iPad, first go to the Settings app, then touch Mail, Contacts, Calendars. Scroll down until you see the Subscribed Calendars item:

 

Touch Subscribed Calendars to see the list:

 

Then, touch the Hebcal calendar to delete:

 

Touch the red Delete Account button, then touch Delete Account again to confirm.

Posted by & filed under Developers, APIs, RSS Feeds, Source Code.

We offer a simple API for converting between Gregorian and Hebrew dates. Two output formats are supported: JSON and XML.

To convert from Gregorian to Hebrew date use this URL format:

http://www.hebcal.com/converter/?cfg=json&gy=2011&gm=6&gd=2&g2h=1

  • gy=2011 – Gregorian year
  • gm=6 – Gregorian month (1=January, 12=December)
  • gd=2 – Gregorian day of month
  • g2h=1 – Convert from Gregorian to Hebrew date
  • gs=on – After sunset on Gregorian date
  • cfg=json – output format is JSON (cfg=json) or XML (cfg=xml)

To convert from Hebrew to Gregorian use this URL format:

http://www.hebcal.com/converter/?cfg=json&hy=5749&hm=Kislev&hd=25&h2g=1

  • hy=5749 – Hebrew year
  • hm=Kislev – Hebrew month (Nisan, Iyyar, Sivan, Tamuz, Av, Elul, Tishrei, Cheshvan, Kislev, Tevet, Shvat, Adar1, Adar2)
  • hd=25 – Hebrew day of month
  • h2g=1 – Convert from Hebrew to Gregorian date
  • cfg=json – output format is JSON (cfg=json) or XML (cfg=xml)

Note also an optional callback parameter:

  • callback=function - wraps the JSON output text in parentheses and a function name of your choosing. Callback function names may only use upper and lowercase alphabetic characters (A-Z, a-z), numbers (0-9), the period (.), the underscore (_).

Sample output in JSON:

{"gy":2011,"gm":6,"gd":2,
"hy":5771,"hm":"Iyyar","hd":29,
"hebrew":"כ״ט בְּאִיָיר תשע״א"
}

Sample output in XML:

<?xml version="1.0" ?>
<hebcal>
<gregorian year="2011" month="6" day="2" />
<hebrew year="5771" month="Iyyar" day="29" str="כ״ט בְּאִיָיר תשע״א" />
</hebcal>