+1
Fixed

Hanukkah Saturday night doesn't show Havdalah.

Azzie Katz 6 years ago updated by Michael J. Radwin 3 years ago 4

Yes, I saw the post (linked below) as "not a bug", but this is an issue, because APIs can look for "Candle lighting" and "Havdalah" (for Shabbat) to do things such as enable and disable devices, and because it isn't listed, those actions will not occur.


Please fix this and display a duplicate time for Havdalah and Candles for that one night a year.


http://hebcal.userecho.com/forums/1-general/topics/134-havdalah-times-missing-when-holiday-is-on-motzei-shabbat/?comment_form_activate=true

Answer

Answer
Fixed

Hi, thanks for the feedback.

We've made changes to how our API works and Chanukah candle-lighting times will no longer suppress regular Shabbat/Havdalah times. Here's an example to illustrate how the API now behaves (with 2 events on Friday night and 2 events on Saturday night).

https://www.hebcal.com/hebcal?v=1&cfg=json&c=on&maj=on&min=on&zip=02906&year=2016&month=12&leyning=off

{

"title": "Chanukah: 7 Candles",

"date": "2016-12-30T16:05:00-05:00",

"category": "holiday",

"subcat": "major",

"hebrew": "חנוכה: ז׳ נרות",

"link": "https://www.hebcal.com/holidays/chanukah-2016?utm_source=js&utm_medium=api",

"memo": "Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights"

},

{

"title": "Candle lighting: 4:05pm",

"date": "2016-12-30T16:05:00-05:00",

"category": "candles",

"title_orig": "Candle lighting",

"hebrew": "הדלקת נרות"

},

{

"title": "Chanukah: 8 Candles",

"date": "2016-12-31T17:11:00-05:00",

"category": "holiday",

"subcat": "major",

"hebrew": "חנוכה: ח׳ נרות",

"link": "https://www.hebcal.com/holidays/chanukah-2016?utm_source=js&utm_medium=api",

"memo": "Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights"

},

{

"title": "Havdalah: 5:11pm",

"date": "2016-12-31T17:11:00-05:00",

"category": "havdalah",

"title_orig": "Havdalah",

"hebrew": "הבדלה"

}

Answer
Fixed

Hi, thanks for the feedback.

We've made changes to how our API works and Chanukah candle-lighting times will no longer suppress regular Shabbat/Havdalah times. Here's an example to illustrate how the API now behaves (with 2 events on Friday night and 2 events on Saturday night).

https://www.hebcal.com/hebcal?v=1&cfg=json&c=on&maj=on&min=on&zip=02906&year=2016&month=12&leyning=off

{

"title": "Chanukah: 7 Candles",

"date": "2016-12-30T16:05:00-05:00",

"category": "holiday",

"subcat": "major",

"hebrew": "חנוכה: ז׳ נרות",

"link": "https://www.hebcal.com/holidays/chanukah-2016?utm_source=js&utm_medium=api",

"memo": "Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights"

},

{

"title": "Candle lighting: 4:05pm",

"date": "2016-12-30T16:05:00-05:00",

"category": "candles",

"title_orig": "Candle lighting",

"hebrew": "הדלקת נרות"

},

{

"title": "Chanukah: 8 Candles",

"date": "2016-12-31T17:11:00-05:00",

"category": "holiday",

"subcat": "major",

"hebrew": "חנוכה: ח׳ נרות",

"link": "https://www.hebcal.com/holidays/chanukah-2016?utm_source=js&utm_medium=api",

"memo": "Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights"

},

{

"title": "Havdalah: 5:11pm",

"date": "2016-12-31T17:11:00-05:00",

"category": "havdalah",

"title_orig": "Havdalah",

"hebrew": "הבדלה"

}

Agree -- this **IS** a bug. Read Johnny Graham's logic and tell me that makes sense by design!? 


Aside from that, if the API is called with maj=off, then it shows both Havdalah and Candles on Saturday night. Trouble is, it foolishly uses the same category for Shabbos and Chanukah candles, so you can't distinguish one from the other from the API return values.


A second bug, IMO.

I agree. My fridge light failed to turn itself back on this evening (after Shabbat).

As I can see it, the only way to identify Motzaei Shabbat/Yomtov in the current setup is to look for category="havdalah" or category="holiday" AND title startsWith "Chanukah" and the day is Shabbat (based on the datetime). For every other Shabbat and Yomtov throughout the year category="havdalah" is sufficient.

Also- yes Friday night has it properly, with both "Candle Lighting" and "Candles" listed, just not Saturday night.