Skip to content

Commit 3197ac7

Browse files
committed
Add Erev YK holiday description which includes mention of Kol Nidre
1 parent f38e7fc commit 3197ac7

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hebcal/rest-api",
3-
"version": "6.1.6",
3+
"version": "6.1.7",
44
"author": "Michael J. Radwin (https://github.com/mjradwin)",
55
"keywords": [
66
"hebcal"

src/holidays.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"Chag HaBanot": "North African Chanukah festival of daughters. Called Eid al-Banat in Arabic, the holiday was most preserved in Tunisia",
66
"Chanukah": "Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights, the eight-day festival is observed by lighting the candles of a hanukkiah (menorah)",
77
"Days of the Omer": "7 weeks from the second night of Pesach to the day before Shavuot. Also called Sefirat HaOmer, it is a practice that consists of a verbal counting of each of the forty-nine days between the two holidays",
8+
"Erev Yom Kippur": "Evening of Yom Kippur (Day of Atonement), which includes the Kol Nidre service",
89
"Family Day": "Yom HaMishpacha, a day to honor the family unit",
910
"Hebrew Language Day": "Promotes the Hebrew language in Israel and around the world. Occurs on the birthday of Eliezer Ben Yehuda, the father of modern spoken Hebrew",
1011
"Herzl Day": "Commemorates the life and vision of Zionist leader Theodor Herzl",

test/common.spec.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,12 @@ test('getHolidayDescription-ykk', () => {
340340
expect(s).toBe('Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh');
341341
});
342342

343+
test('getHolidayDescription-erev-ykk', () => {
344+
const ev = new HolidayEvent(new HDate(9, 'Tishrei', 5786), 'Erev Yom Kippur', flags.LIGHT_CANDLES | flags.EREV);
345+
const s = getHolidayDescription(ev);
346+
expect(s).toBe('Evening of Yom Kippur (Day of Atonement), which includes the Kol Nidre service');
347+
});
348+
343349
test('getHolidayDescription Shabbat Mevarchim Chodesh', () => {
344350
const ev = new HolidayEvent(new HDate(25, 'Adar I', 5782),
345351
'Shabbat Mevarchim Chodesh Adar II', flags.SHABBAT_MEVARCHIM);

0 commit comments

Comments
 (0)