Skip to content

Commit

Permalink
Add Candle-lighting and Havdalah emojis
Browse files Browse the repository at this point in the history
  • Loading branch information
mjradwin committed Jun 29, 2021
1 parent 8acab88 commit cef3964
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hebcal/core",
"version": "3.20.0",
"version": "3.20.1",
"author": "Michael J. Radwin (https://github.com/mjradwin)",
"contributors": [
"Eyal Schachter (https://github.com/Scimonster)",
Expand Down
8 changes: 8 additions & 0 deletions src/candles.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ export class HavdalahEvent extends TimedEvent {
}
return str;
}
/** @return {string} */
getEmoji() {
return '🌃';
}
}

/** Candle lighting before Shabbat or holiday */
Expand All @@ -147,6 +151,10 @@ export class CandleLightingEvent extends TimedEvent {
constructor(date, mask, eventTime, location, linkedEvent) {
super(date, 'Candle lighting', mask, eventTime, location, linkedEvent);
}
/** @return {string} */
getEmoji() {
return '🕯️';
}
}

/**
Expand Down

0 comments on commit cef3964

Please sign in to comment.