jcal-zmanim 1.2.8 → 1.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -2198,7 +2198,6 @@ var jDate = /*#__PURE__*/ function() {
2198
2198
  /**
2199
2199
  * Returns the current Jewish date in the format: יום חמישי כ"א כסלו תשע"ו
2200
2200
  * @param hideDayOfWeek When set to truthy, hides the day of the week
2201
- * @returns
2202
2201
  */ key: "toStringHeb",
2203
2202
  value: function toStringHeb(hideDayOfWeek) {
2204
2203
  return (!hideDayOfWeek ? DaysOfWeekHeb[this.getDayOfWeek()] + " " : "") + Utils.toJewishNumber(this.Day) + " " + JewishMonthsHeb[this.Month] + (this.Month === 12 && _jDate.isJdLeapY(this.Year) ? " ראשון " : " ") + Utils.toJewishNumber(this.Year % 1e3);
@@ -13194,7 +13193,7 @@ function getAroundTheYearNotifications() {
13194
13193
  addTefillahNote("Avinu Malkeinu", "אבינו מלכנו");
13195
13194
  addTefillahNote("Aneinu", "עננו");
13196
13195
  } else {
13197
- var isYerushalayim = location.Name === "ירושלים";
13196
+ var isYerushalayim = location.Name === "Jerusalem" || location.NameHebrew === "ירושלים";
13198
13197
  if (day === 14) {
13199
13198
  dayInfo.noTachnun = true;
13200
13199
  if (isMorning && dow !== DaysOfWeek.SHABBOS) {