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 +1 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/package.json +5 -2
package/dist/index.d.cts
CHANGED
|
@@ -215,7 +215,6 @@ declare class jDate {
|
|
|
215
215
|
/**
|
|
216
216
|
* Returns the current Jewish date in the format: יום חמישי כ"א כסלו תשע"ו
|
|
217
217
|
* @param hideDayOfWeek When set to truthy, hides the day of the week
|
|
218
|
-
* @returns
|
|
219
218
|
*/
|
|
220
219
|
toStringHeb(hideDayOfWeek?: boolean): string;
|
|
221
220
|
/**Gets the day of the omer for the current Jewish date. If the date is not during sefira, 0 is returned.*/
|
package/dist/index.d.ts
CHANGED
|
@@ -215,7 +215,6 @@ declare class jDate {
|
|
|
215
215
|
/**
|
|
216
216
|
* Returns the current Jewish date in the format: יום חמישי כ"א כסלו תשע"ו
|
|
217
217
|
* @param hideDayOfWeek When set to truthy, hides the day of the week
|
|
218
|
-
* @returns
|
|
219
218
|
*/
|
|
220
219
|
toStringHeb(hideDayOfWeek?: boolean): string;
|
|
221
220
|
/**Gets the day of the omer for the current Jewish date. If the date is not during sefira, 0 is returned.*/
|
package/dist/index.js
CHANGED
|
@@ -663,7 +663,6 @@ var jDate = class _jDate {
|
|
|
663
663
|
/**
|
|
664
664
|
* Returns the current Jewish date in the format: יום חמישי כ"א כסלו תשע"ו
|
|
665
665
|
* @param hideDayOfWeek When set to truthy, hides the day of the week
|
|
666
|
-
* @returns
|
|
667
666
|
*/
|
|
668
667
|
toStringHeb(hideDayOfWeek) {
|
|
669
668
|
return (!hideDayOfWeek ? DaysOfWeekHeb[this.getDayOfWeek()] + " " : "") + Utils.toJewishNumber(this.Day) + " " + JewishMonthsHeb[this.Month] + (this.Month === 12 && _jDate.isJdLeapY(this.Year) ? " \u05E8\u05D0\u05E9\u05D5\u05DF " : " ") + Utils.toJewishNumber(this.Year % 1e3);
|
|
@@ -3350,7 +3349,7 @@ function getAroundTheYearNotifications() {
|
|
|
3350
3349
|
addTefillahNote("Avinu Malkeinu", "\u05D0\u05D1\u05D9\u05E0\u05D5 \u05DE\u05DC\u05DB\u05E0\u05D5");
|
|
3351
3350
|
addTefillahNote("Aneinu", "\u05E2\u05E0\u05E0\u05D5");
|
|
3352
3351
|
} else {
|
|
3353
|
-
const isYerushalayim = location.Name === "\u05D9\u05E8\u05D5\u05E9\u05DC\u05D9\u05DD";
|
|
3352
|
+
const isYerushalayim = location.Name === "Jerusalem" || location.NameHebrew === "\u05D9\u05E8\u05D5\u05E9\u05DC\u05D9\u05DD";
|
|
3354
3353
|
if (day === 14) {
|
|
3355
3354
|
dayInfo.noTachnun = true;
|
|
3356
3355
|
if (isMorning && dow !== DaysOfWeek.SHABBOS) {
|