jcal-zmanim 1.0.9 → 1.1.0
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/JCal/Dafyomi.js +5 -5
- package/dist/JCal/Dafyomi.js.map +1 -1
- package/dist/JCal/Molad.d.ts +0 -1
- package/dist/JCal/Molad.d.ts.map +1 -1
- package/dist/JCal/Molad.js +15 -18
- package/dist/JCal/Molad.js.map +1 -1
- package/dist/JCal/PirkeiAvos.js +3 -3
- package/dist/JCal/PirkeiAvos.js.map +1 -1
- package/dist/JCal/Sedra.d.ts +1 -1
- package/dist/JCal/Sedra.js +1 -1
- package/dist/JCal/Zmanim.d.ts.map +1 -1
- package/dist/JCal/Zmanim.js +15 -16
- package/dist/JCal/Zmanim.js.map +1 -1
- package/dist/{AppUtils.d.ts → JCal/ZmanimUtils.d.ts} +8 -45
- package/dist/JCal/ZmanimUtils.d.ts.map +1 -0
- package/dist/{AppUtils.js → JCal/ZmanimUtils.js} +53 -123
- package/dist/JCal/ZmanimUtils.js.map +1 -0
- package/dist/JCal/jDate.d.ts +3 -3
- package/dist/JCal/jDate.js +23 -24
- package/dist/JCal/jDate.js.map +1 -1
- package/dist/Notifications.d.ts +9 -6
- package/dist/Notifications.d.ts.map +1 -1
- package/dist/Notifications.js +110 -130
- package/dist/Notifications.js.map +1 -1
- package/{README.md → dist/README.md} +227 -41
- package/dist/{JCal/Utils.d.ts → Utils.d.ts} +71 -10
- package/dist/Utils.d.ts.map +1 -0
- package/dist/{JCal/Utils.js → Utils.js} +175 -70
- package/dist/Utils.js.map +1 -0
- package/dist/index.js +13 -32
- package/dist/index.js.map +1 -1
- package/package.json +5 -2
- package/dist/AppUtils.d.ts.map +0 -1
- package/dist/AppUtils.js.map +0 -1
- package/dist/GeneralUtils.d.ts +0 -44
- package/dist/GeneralUtils.d.ts.map +0 -1
- package/dist/GeneralUtils.js +0 -94
- package/dist/GeneralUtils.js.map +0 -1
- package/dist/JCal/Utils.d.ts.map +0 -1
- package/dist/JCal/Utils.js.map +0 -1
- package/dist/Settings.d.ts +0 -34
- package/dist/Settings.d.ts.map +0 -1
- package/dist/Settings.js +0 -84
- package/dist/Settings.js.map +0 -1
package/dist/Notifications.js
CHANGED
|
@@ -1,54 +1,34 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
2
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
4
|
};
|
|
28
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
|
|
6
|
+
exports.getNotifications = void 0;
|
|
7
|
+
const Utils_1 = require("./Utils");
|
|
30
8
|
const jDate_1 = __importDefault(require("./JCal/jDate"));
|
|
31
9
|
const Molad_1 = __importDefault(require("./JCal/Molad"));
|
|
32
10
|
const PirkeiAvos_1 = __importDefault(require("./JCal/PirkeiAvos"));
|
|
33
|
-
const
|
|
11
|
+
const ZmanimUtils_1 = __importDefault(require("./JCal/ZmanimUtils"));
|
|
34
12
|
const dayNotes = [];
|
|
35
13
|
const tefillahNotes = [];
|
|
36
14
|
let showEnglish = false, dayInfo, showGaonShirShelYom = true, israel = true;
|
|
37
15
|
/**
|
|
38
16
|
* Get shul notifications for the given date and location
|
|
39
|
-
* @param
|
|
40
|
-
* @param
|
|
41
|
-
* @param
|
|
42
|
-
* @param
|
|
17
|
+
* @param date
|
|
18
|
+
* @param time
|
|
19
|
+
* @param location
|
|
20
|
+
* @param english
|
|
21
|
+
* @param showGaonShir *
|
|
22
|
+
* @param showDafYomi
|
|
23
|
+
* @returns {{ dayNotes: string[], tefillahNotes: string[]}}
|
|
43
24
|
*/
|
|
44
|
-
function getNotifications(
|
|
25
|
+
function getNotifications(date, time, location, english, showGaonShir, showDafYomi) {
|
|
26
|
+
const { sdate, jdate } = Utils_1.Utils.bothDates(date);
|
|
45
27
|
dayNotes.length = 0;
|
|
46
28
|
tefillahNotes.length = 0;
|
|
47
|
-
const month = jdate.Month, day = jdate.Day, dow = jdate.DayOfWeek, {
|
|
48
|
-
(Utils_1.
|
|
49
|
-
|
|
50
|
-
isAfterAlos = Utils_1.default.isTimeAfter(alos, time), isAfterShkia = Utils_1.default.isTimeAfter(shkia, time), isDaytime = isAfterAlos && !isAfterShkia, isNightTime = !isDaytime, isNotBeinHasmashos = !isAfterShkia ||
|
|
51
|
-
Utils_1.default.isTimeAfter(Utils_1.default.addMinutes(shkia, 18), time), isMorning = isDaytime && !isAfterChatzosHayom, isAfternoon = isDaytime && isAfterChatzosHayom, isYomTov = jdate.isYomTovOrCholHamoed(location.Israel), isLeapYear = jDate_1.default.isJdLeapY(jdate.Year), noTachnun = isAfternoon && (dow === AppUtils_1.DaysOfWeek.FRIDAY || day === 29);
|
|
29
|
+
const month = jdate.Month, day = jdate.Day, dow = jdate.DayOfWeek, { chatzosHayom, chatzosHalayla, alos, shkia, } = ZmanimUtils_1.default.getBasicShulZmanim(date, location), isAfterChatzosHayom = Utils_1.Utils.isTimeAfter(chatzosHayom, time), isAfterChatzosHalayla = (typeof (chatzosHalayla) !== 'undefined') &&
|
|
30
|
+
(Utils_1.Utils.isTimeAfter(chatzosHalayla, time) || (chatzosHalayla.hour > 12 && time.hour < 12)), //Chatzos is before 0:00 and time is after 0:00
|
|
31
|
+
isAfterAlos = Utils_1.Utils.isTimeAfter(alos, time), isAfterShkia = Utils_1.Utils.isTimeAfter(shkia, time), isDaytime = isAfterAlos && !isAfterShkia, isNightTime = !isDaytime, isNotBeinHasmashos = !isAfterShkia || Utils_1.Utils.isTimeAfter(Utils_1.Utils.addMinutes(shkia, 18), time), isMorning = isDaytime && !isAfterChatzosHayom, isAfternoon = isDaytime && isAfterChatzosHayom, isYomTov = jdate.isYomTovOrCholHamoed(location.Israel), isLeapYear = jDate_1.default.isJdLeapY(jdate.Year), noTachnun = isAfternoon && (dow === Utils_1.DaysOfWeek.FRIDAY || day === 29);
|
|
52
32
|
dayInfo = {
|
|
53
33
|
jdate,
|
|
54
34
|
sdate,
|
|
@@ -69,9 +49,9 @@ function getNotifications(jdate, sdate, time, settings) {
|
|
|
69
49
|
location,
|
|
70
50
|
};
|
|
71
51
|
showEnglish = english;
|
|
72
|
-
showGaonShirShelYom = showGaonShir;
|
|
52
|
+
showGaonShirShelYom = showGaonShir === true;
|
|
73
53
|
israel = location.Israel;
|
|
74
|
-
if (dow ===
|
|
54
|
+
if (dow === Utils_1.DaysOfWeek.SHABBOS) {
|
|
75
55
|
getShabbosNotifications();
|
|
76
56
|
}
|
|
77
57
|
else {
|
|
@@ -79,7 +59,7 @@ function getNotifications(jdate, sdate, time, settings) {
|
|
|
79
59
|
}
|
|
80
60
|
getAroundTheYearNotifications();
|
|
81
61
|
if (dayInfo.noTachnun && isDaytime && !isYomTov) {
|
|
82
|
-
if (dow !==
|
|
62
|
+
if (dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
83
63
|
addTefillahNote('No Tachnun', 'א"א תחנון');
|
|
84
64
|
}
|
|
85
65
|
else if (isAfternoon) {
|
|
@@ -99,7 +79,7 @@ function getNotifications(jdate, sdate, time, settings) {
|
|
|
99
79
|
((month === 1 && day > 15) || month === 2 || (month === 3 && day < 6))) {
|
|
100
80
|
const dayOfSefirah = jdate.getDayOfOmer();
|
|
101
81
|
if (dayOfSefirah > 0) {
|
|
102
|
-
addTefillahNote(Utils_1.
|
|
82
|
+
addTefillahNote(Utils_1.Utils.getOmerNusach(dayOfSefirah, 'ashkenaz'));
|
|
103
83
|
}
|
|
104
84
|
}
|
|
105
85
|
//return only unique values
|
|
@@ -108,7 +88,7 @@ function getNotifications(jdate, sdate, time, settings) {
|
|
|
108
88
|
tefillahNotes: [...new Set(tefillahNotes)],
|
|
109
89
|
};
|
|
110
90
|
}
|
|
111
|
-
exports.
|
|
91
|
+
exports.getNotifications = getNotifications;
|
|
112
92
|
function getShabbosNotifications() {
|
|
113
93
|
const { month, day, isLeapYear, isMorning, isYomTov, jdate, isDaytime, isAfternoon, } = dayInfo;
|
|
114
94
|
if (month === 1 && day > 7 && day < 15) {
|
|
@@ -181,15 +161,15 @@ function getShabbosNotifications() {
|
|
|
181
161
|
const prakim = PirkeiAvos_1.default.getPrakim(jdate, israel);
|
|
182
162
|
if (prakim.length > 0) {
|
|
183
163
|
addDayNote('Pirkei Avos - ' +
|
|
184
|
-
prakim.map(s => `Perek ${Utils_1.
|
|
185
|
-
prakim.map(s => `פרק ${Utils_1.
|
|
164
|
+
prakim.map(s => `Perek ${Utils_1.Utils.toJewishNumber(s)}`).join(' and '), 'פרקי אבות - ' +
|
|
165
|
+
prakim.map(s => `פרק ${Utils_1.Utils.toJewishNumber(s)}`).join(' ו'));
|
|
186
166
|
}
|
|
187
167
|
}
|
|
188
168
|
}
|
|
189
169
|
function getWeekDayNotifications() {
|
|
190
170
|
const { isNightTime, dow, isYomTov, month, day, isMorning, jdate, location, isDaytime, isAfternoon, } = dayInfo;
|
|
191
171
|
//מוצאי שבת
|
|
192
|
-
if (isNightTime && dow ===
|
|
172
|
+
if (isNightTime && dow === Utils_1.DaysOfWeek.SUNDAY) {
|
|
193
173
|
//הבדלה בתפילה for מוצאי שבת
|
|
194
174
|
addTefillahNote((month === 1 && day === 15) || (month === 3 && day === 6)
|
|
195
175
|
? 'ותודיעינו'
|
|
@@ -213,7 +193,7 @@ function getWeekDayNotifications() {
|
|
|
213
193
|
//when it's not chol hamoed, chanuka, purim, a fast day or rosh chodesh
|
|
214
194
|
if (isMorning &&
|
|
215
195
|
!isYomTov &&
|
|
216
|
-
(dow ===
|
|
196
|
+
(dow === Utils_1.DaysOfWeek.MONDAY || dow === Utils_1.DaysOfWeek.THURSDAY) &&
|
|
217
197
|
!hasOwnKriyasHatorah(jdate, location)) {
|
|
218
198
|
const sedra = jdate.getSedra(israel);
|
|
219
199
|
if (sedra.sedras.length > 0) {
|
|
@@ -231,15 +211,15 @@ function getWeekDayNotifications() {
|
|
|
231
211
|
//Rosh Chodesh Teves is during Chanuka
|
|
232
212
|
if (isDaytime && month !== 10 && !(month === 9 && day === 30)) {
|
|
233
213
|
addTefillahNote('Chatzi Hallel', 'חצי הלל');
|
|
234
|
-
if (isMorning && dow !==
|
|
214
|
+
if (isMorning && dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
235
215
|
noLaminatzeach();
|
|
236
216
|
}
|
|
237
217
|
}
|
|
238
218
|
}
|
|
239
219
|
//Yom Kippur Kattan
|
|
240
220
|
else if (month !== 6 &&
|
|
241
|
-
((dow <
|
|
242
|
-
(dow ===
|
|
221
|
+
((dow < Utils_1.DaysOfWeek.FRIDAY && day === 29) ||
|
|
222
|
+
(dow === Utils_1.DaysOfWeek.THURSDAY && day === 28)) &&
|
|
243
223
|
isAfternoon) {
|
|
244
224
|
addTefillahNote('Yom Kippur Kattan', 'יו"כ קטן');
|
|
245
225
|
}
|
|
@@ -255,14 +235,14 @@ function getAroundTheYearNotifications() {
|
|
|
255
235
|
if (day > 15) {
|
|
256
236
|
addTefillahNote('Morid Hatal', 'מוריד הטל');
|
|
257
237
|
}
|
|
258
|
-
if (dow !==
|
|
238
|
+
if (dow !== Utils_1.DaysOfWeek.SHABBOS && day > 15 && day !== 21) {
|
|
259
239
|
addTefillahNote('Vesain Bracha', 'ותן ברכה');
|
|
260
240
|
}
|
|
261
241
|
if (isMorning &&
|
|
262
|
-
dow !==
|
|
242
|
+
dow !== Utils_1.DaysOfWeek.SHABBOS &&
|
|
263
243
|
[14, 16, 17, 18, 19, 20].includes(day)) {
|
|
264
244
|
addTefillahNote('No Mizmor Lesodah', 'א"א מזמור לתודה');
|
|
265
|
-
if (dow !==
|
|
245
|
+
if (dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
266
246
|
noLaminatzeach();
|
|
267
247
|
}
|
|
268
248
|
}
|
|
@@ -274,7 +254,7 @@ function getAroundTheYearNotifications() {
|
|
|
274
254
|
}
|
|
275
255
|
if (showGaonShirShelYom &&
|
|
276
256
|
isDaytime &&
|
|
277
|
-
dow !==
|
|
257
|
+
dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
278
258
|
addTefillahNote('שיר של יום - קי"ד - בצאת ישראל');
|
|
279
259
|
}
|
|
280
260
|
addTefillahNote('Ya`aleh V`yavo', 'יעלה ויבא');
|
|
@@ -285,7 +265,7 @@ function getAroundTheYearNotifications() {
|
|
|
285
265
|
addTefillahNote('Morid Hatal', 'מוריד הטל');
|
|
286
266
|
if (showGaonShirShelYom &&
|
|
287
267
|
isDaytime &&
|
|
288
|
-
dow !==
|
|
268
|
+
dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
289
269
|
addTefillahNote('שיר של יום - קי"ד - בצאת ישראל');
|
|
290
270
|
}
|
|
291
271
|
addTefillahNote('Ya`aleh V`yavo', 'יעלה ויבא');
|
|
@@ -297,7 +277,7 @@ function getAroundTheYearNotifications() {
|
|
|
297
277
|
if (israel) {
|
|
298
278
|
addTefillahNote('Yizkor', 'יזכור');
|
|
299
279
|
}
|
|
300
|
-
if (showGaonShirShelYom && dow !==
|
|
280
|
+
if (showGaonShirShelYom && dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
301
281
|
addTefillahNote('שיר של יום - י"ח - למנצח לעבד ה\'');
|
|
302
282
|
}
|
|
303
283
|
}
|
|
@@ -305,14 +285,14 @@ function getAroundTheYearNotifications() {
|
|
|
305
285
|
else {
|
|
306
286
|
addDayNote('Chol Ha`moed Pesach', 'פסח - חול המועד');
|
|
307
287
|
addTefillahNote('Ya`aleh Viyavo', 'יעלה ויבא');
|
|
308
|
-
if (isMorning && dow !==
|
|
288
|
+
if (isMorning && dow !== Utils_1.DaysOfWeek.SHABBOS)
|
|
309
289
|
noLaminatzeach();
|
|
310
290
|
if (showGaonShirShelYom &&
|
|
311
291
|
isDaytime &&
|
|
312
|
-
dow !==
|
|
292
|
+
dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
313
293
|
switch (day) {
|
|
314
294
|
case 16:
|
|
315
|
-
if (dow ===
|
|
295
|
+
if (dow === Utils_1.DaysOfWeek.SUNDAY) {
|
|
316
296
|
addTefillahNote('שיר של יום - קי"ד - בצאת ישראל');
|
|
317
297
|
}
|
|
318
298
|
else {
|
|
@@ -320,7 +300,7 @@ function getAroundTheYearNotifications() {
|
|
|
320
300
|
}
|
|
321
301
|
break;
|
|
322
302
|
case 17:
|
|
323
|
-
if (dow ===
|
|
303
|
+
if (dow === Utils_1.DaysOfWeek.MONDAY) {
|
|
324
304
|
addTefillahNote('שיר של יום - ע"ח - משכיל לאסף');
|
|
325
305
|
}
|
|
326
306
|
else {
|
|
@@ -328,8 +308,8 @@ function getAroundTheYearNotifications() {
|
|
|
328
308
|
}
|
|
329
309
|
break;
|
|
330
310
|
case 18:
|
|
331
|
-
if (dow ===
|
|
332
|
-
dow ===
|
|
311
|
+
if (dow === Utils_1.DaysOfWeek.TUESDAY ||
|
|
312
|
+
dow === Utils_1.DaysOfWeek.SUNDAY) {
|
|
333
313
|
addTefillahNote("שיר של יום - פ' - למנצח אל שושנים");
|
|
334
314
|
}
|
|
335
315
|
else {
|
|
@@ -337,7 +317,7 @@ function getAroundTheYearNotifications() {
|
|
|
337
317
|
}
|
|
338
318
|
break;
|
|
339
319
|
case 19:
|
|
340
|
-
if (dow ===
|
|
320
|
+
if (dow === Utils_1.DaysOfWeek.THURSDAY) {
|
|
341
321
|
addTefillahNote('שיר של יום - קל"ה - הללוי-ה הללו את שם');
|
|
342
322
|
}
|
|
343
323
|
else {
|
|
@@ -345,7 +325,7 @@ function getAroundTheYearNotifications() {
|
|
|
345
325
|
}
|
|
346
326
|
break;
|
|
347
327
|
case 20:
|
|
348
|
-
if (dow ===
|
|
328
|
+
if (dow === Utils_1.DaysOfWeek.FRIDAY) {
|
|
349
329
|
addTefillahNote('שיר של יום - ס"ו - למנצח שיר מזמור');
|
|
350
330
|
}
|
|
351
331
|
else {
|
|
@@ -371,11 +351,11 @@ function getAroundTheYearNotifications() {
|
|
|
371
351
|
}
|
|
372
352
|
addTefillahNote('Ya`aleh V`yavo', 'יעלה ויבא');
|
|
373
353
|
}
|
|
374
|
-
if (dow !==
|
|
354
|
+
if (dow !== Utils_1.DaysOfWeek.SHABBOS && isMorning) {
|
|
375
355
|
noLaminatzeach();
|
|
376
356
|
}
|
|
377
357
|
}
|
|
378
|
-
if (dow ===
|
|
358
|
+
if (dow === Utils_1.DaysOfWeek.SHABBOS &&
|
|
379
359
|
([15, 16, 17, 18, 19, 20, 21].includes(day) ||
|
|
380
360
|
(!israel && day === 22))) {
|
|
381
361
|
addTefillahNote('Shir Hashirim', 'מגילת שיר השירים');
|
|
@@ -384,7 +364,7 @@ function getAroundTheYearNotifications() {
|
|
|
384
364
|
case 2: //Iyar
|
|
385
365
|
if (day <= 15) {
|
|
386
366
|
addTefillahNote('Morid Hatal', 'מוריד הטל');
|
|
387
|
-
if (dow !==
|
|
367
|
+
if (dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
388
368
|
addTefillahNote('V`sain Bracha', 'ותן ברכה');
|
|
389
369
|
}
|
|
390
370
|
}
|
|
@@ -400,9 +380,9 @@ function getAroundTheYearNotifications() {
|
|
|
400
380
|
}
|
|
401
381
|
//Baha"b
|
|
402
382
|
if (isMorning &&
|
|
403
|
-
((dow ===
|
|
404
|
-
(dow ===
|
|
405
|
-
(dow ===
|
|
383
|
+
((dow === Utils_1.DaysOfWeek.MONDAY && day > 3 && day < 13) ||
|
|
384
|
+
(dow === Utils_1.DaysOfWeek.THURSDAY && day > 6 && day < 14) ||
|
|
385
|
+
(dow === Utils_1.DaysOfWeek.MONDAY &&
|
|
406
386
|
day > 10 &&
|
|
407
387
|
day < 18 &&
|
|
408
388
|
day !== 14))) {
|
|
@@ -431,7 +411,7 @@ function getAroundTheYearNotifications() {
|
|
|
431
411
|
else if (day === 7) {
|
|
432
412
|
if (israel) {
|
|
433
413
|
addDayNote('Issru Chag', 'איסרו חג');
|
|
434
|
-
if (isMorning && dow !==
|
|
414
|
+
if (isMorning && dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
435
415
|
noLaminatzeach();
|
|
436
416
|
}
|
|
437
417
|
}
|
|
@@ -447,8 +427,8 @@ function getAroundTheYearNotifications() {
|
|
|
447
427
|
break;
|
|
448
428
|
case 4: //Tammuz
|
|
449
429
|
if (isDaytime &&
|
|
450
|
-
((day === 17 &&
|
|
451
|
-
(day === 18 && dow ===
|
|
430
|
+
((day === 17 && Utils_1.DaysOfWeek.SHABBOS !== 6) ||
|
|
431
|
+
(day === 18 && dow === Utils_1.DaysOfWeek.SUNDAY))) {
|
|
452
432
|
if (isDaytime) {
|
|
453
433
|
addDayNote('Shiva Asar B`Tamuz', 'י"ז בתמוז');
|
|
454
434
|
addTefillahNote('Avinu Malkeinu', 'אבינו מלכנו');
|
|
@@ -460,22 +440,22 @@ function getAroundTheYearNotifications() {
|
|
|
460
440
|
}
|
|
461
441
|
break;
|
|
462
442
|
case 5: //Av
|
|
463
|
-
if (isAfternoon && day === 8 && dow !==
|
|
443
|
+
if (isAfternoon && day === 8 && dow !== Utils_1.DaysOfWeek.FRIDAY) {
|
|
464
444
|
dayInfo.noTachnun = true;
|
|
465
445
|
}
|
|
466
|
-
else if ((day === 9 && dow !==
|
|
467
|
-
(day === 10 && dow ===
|
|
446
|
+
else if ((day === 9 && dow !== Utils_1.DaysOfWeek.SHABBOS) ||
|
|
447
|
+
(day === 10 && dow === Utils_1.DaysOfWeek.SUNDAY)) {
|
|
468
448
|
addDayNote('Tish B`Av', 'תשעה באב');
|
|
469
449
|
if (isDaytime) {
|
|
470
450
|
addTefillahNote('Kinos', 'קינות');
|
|
471
451
|
addTefillahNote('Aneinu', 'עננו');
|
|
472
|
-
if (isMorning && dow !==
|
|
452
|
+
if (isMorning && dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
473
453
|
noLaminatzeach();
|
|
474
454
|
}
|
|
475
455
|
}
|
|
476
456
|
else {
|
|
477
457
|
addTefillahNote('Megilas Eicha', 'מגילת איכה');
|
|
478
|
-
if (isNightTime && dow ===
|
|
458
|
+
if (isNightTime && dow === Utils_1.DaysOfWeek.SUNDAY) {
|
|
479
459
|
addTefillahNote('No Vihi Noam', 'א"א ויהי נועם');
|
|
480
460
|
}
|
|
481
461
|
}
|
|
@@ -492,19 +472,19 @@ function getAroundTheYearNotifications() {
|
|
|
492
472
|
case 6: //Ellul
|
|
493
473
|
addTefillahNote('L`Dovid Hashem Ori', 'לדוד ה');
|
|
494
474
|
if (day > 20 &&
|
|
495
|
-
dow !==
|
|
475
|
+
dow !== Utils_1.DaysOfWeek.SHABBOS &&
|
|
496
476
|
(isAfterChatzosHalayla || isMorning)) {
|
|
497
477
|
let startedSelichos = day >= 26;
|
|
498
478
|
if (day < 26) {
|
|
499
479
|
const daysToRH = 30 - day, dowRH = (daysToRH + dow) % 7;
|
|
500
480
|
switch (dowRH) {
|
|
501
|
-
case
|
|
481
|
+
case Utils_1.DaysOfWeek.MONDAY:
|
|
502
482
|
startedSelichos = day >= 22;
|
|
503
483
|
break;
|
|
504
|
-
case
|
|
484
|
+
case Utils_1.DaysOfWeek.TUESDAY:
|
|
505
485
|
startedSelichos = day >= 21;
|
|
506
486
|
break;
|
|
507
|
-
case
|
|
487
|
+
case Utils_1.DaysOfWeek.SHABBOS:
|
|
508
488
|
startedSelichos = day >= 24;
|
|
509
489
|
break;
|
|
510
490
|
}
|
|
@@ -520,16 +500,16 @@ function getAroundTheYearNotifications() {
|
|
|
520
500
|
case 7: //Tishrei
|
|
521
501
|
if (day < 11) {
|
|
522
502
|
addTefillahNote('Hamelech Hakadosh', 'המלך הקדוש');
|
|
523
|
-
if (dow !==
|
|
503
|
+
if (dow !== Utils_1.DaysOfWeek.SHABBOS && day !== 9) {
|
|
524
504
|
addTefillahNote('Avinu Malkeinu', 'אבינו מלכנו');
|
|
525
505
|
}
|
|
526
506
|
}
|
|
527
507
|
//Days of Rosh Hashana, Tzom Gedaliah and Yom Kippur are dealt with individually below.
|
|
528
|
-
if (day > 4 && day < 10 && dow !==
|
|
508
|
+
if (day > 4 && day < 10 && dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
529
509
|
addTefillahNote('Selichos', 'סליחות');
|
|
530
510
|
addTefillahNote('Hamelech Hamishpat', 'המלך המשפט');
|
|
531
511
|
}
|
|
532
|
-
if (dow ===
|
|
512
|
+
if (dow === Utils_1.DaysOfWeek.SHABBOS && day > 2 && day < 10) {
|
|
533
513
|
addDayNote('Shabbos Shuva', 'שבת שובה');
|
|
534
514
|
}
|
|
535
515
|
if (day >= 10) {
|
|
@@ -538,7 +518,7 @@ function getAroundTheYearNotifications() {
|
|
|
538
518
|
switch (day) {
|
|
539
519
|
case 1:
|
|
540
520
|
addDayNote('Rosh Hashana', 'ראש השנה');
|
|
541
|
-
if (dow !==
|
|
521
|
+
if (dow !== Utils_1.DaysOfWeek.SHABBOS && isDaytime) {
|
|
542
522
|
addTefillahNote('Tekias Shofar', 'תקיעת שופר');
|
|
543
523
|
if (showGaonShirShelYom) {
|
|
544
524
|
addTefillahNote('שיר של יום - פ"א - למנצח על הגתית');
|
|
@@ -556,14 +536,14 @@ function getAroundTheYearNotifications() {
|
|
|
556
536
|
if (showGaonShirShelYom) {
|
|
557
537
|
addTefillahNote('שיר של יום - פ"א - למנצח על הגתית');
|
|
558
538
|
}
|
|
559
|
-
if (dow ===
|
|
539
|
+
if (dow === Utils_1.DaysOfWeek.SUNDAY && isAfternoon) {
|
|
560
540
|
addDayNote('Tashlich', 'תשליך');
|
|
561
541
|
}
|
|
562
542
|
}
|
|
563
543
|
addTefillahNote('Ya`aleh V`yavo', 'יעלה ויבא');
|
|
564
544
|
break;
|
|
565
545
|
case 3:
|
|
566
|
-
if (dow !==
|
|
546
|
+
if (dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
567
547
|
if (isDaytime) {
|
|
568
548
|
addDayNote('Fast of Tzom Gedalya', 'צום גדליה');
|
|
569
549
|
addTefillahNote('Aneinu', 'עננו');
|
|
@@ -575,7 +555,7 @@ function getAroundTheYearNotifications() {
|
|
|
575
555
|
}
|
|
576
556
|
break;
|
|
577
557
|
case 4:
|
|
578
|
-
if (dow ===
|
|
558
|
+
if (dow === Utils_1.DaysOfWeek.SUNDAY) {
|
|
579
559
|
if (isDaytime) {
|
|
580
560
|
addDayNote('Fast of Tzom Gedalya', 'צום גדליה');
|
|
581
561
|
addTefillahNote('Aneinu', 'עננו');
|
|
@@ -585,7 +565,7 @@ function getAroundTheYearNotifications() {
|
|
|
585
565
|
}
|
|
586
566
|
addTefillahNote('Hamelech Hamishpat', 'המלך המשפט');
|
|
587
567
|
}
|
|
588
|
-
else if (dow !==
|
|
568
|
+
else if (dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
589
569
|
addTefillahNote('Hamelech Hamishpat', 'המלך המשפט');
|
|
590
570
|
if (isAfterChatzosHalayla || isMorning) {
|
|
591
571
|
addTefillahNote('Selichos', 'סליחות');
|
|
@@ -596,17 +576,17 @@ function getAroundTheYearNotifications() {
|
|
|
596
576
|
addDayNote('Erev Yom Kippur', 'ערב יום כיפור');
|
|
597
577
|
if (isMorning) {
|
|
598
578
|
addTefillahNote('No Mizmor L`Sodah', 'א"א מזמור לתודה');
|
|
599
|
-
if (dow !==
|
|
579
|
+
if (dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
600
580
|
noLaminatzeach();
|
|
601
581
|
}
|
|
602
|
-
if (dow ===
|
|
582
|
+
if (dow === Utils_1.DaysOfWeek.FRIDAY) {
|
|
603
583
|
addTefillahNote('Avinu Malkeinu', 'אבינו מלכנו');
|
|
604
584
|
}
|
|
605
585
|
}
|
|
606
586
|
else if (isAfternoon) {
|
|
607
587
|
addTefillahNote('Vidduy', 'ודוי בעמידה');
|
|
608
588
|
}
|
|
609
|
-
if (isDaytime && dow !==
|
|
589
|
+
if (isDaytime && dow !== Utils_1.DaysOfWeek.FRIDAY) {
|
|
610
590
|
addTefillahNote('No Avinu Malkeinu', 'א"א אבינו מלכנו');
|
|
611
591
|
}
|
|
612
592
|
dayInfo.noTachnun = true;
|
|
@@ -616,7 +596,7 @@ function getAroundTheYearNotifications() {
|
|
|
616
596
|
addDayNote("לפני ה' תטהרו");
|
|
617
597
|
if (isDaytime) {
|
|
618
598
|
addTefillahNote('Yizkor', 'יזכור');
|
|
619
|
-
if (showGaonShirShelYom && dow !==
|
|
599
|
+
if (showGaonShirShelYom && dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
620
600
|
addTefillahNote('שיר של יום - ל"ב - לדוד משכיל');
|
|
621
601
|
}
|
|
622
602
|
}
|
|
@@ -630,7 +610,7 @@ function getAroundTheYearNotifications() {
|
|
|
630
610
|
addTefillahNote('Ya`aleh V`yavo', 'יעלה ויבא');
|
|
631
611
|
if (isDaytime) {
|
|
632
612
|
addTefillahNote('Full Hallel', 'הלל השלם');
|
|
633
|
-
if (dow !==
|
|
613
|
+
if (dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
634
614
|
addTefillahNote('Hoshanos - למען אמתך', 'הושענות - למען אמתך');
|
|
635
615
|
addTefillahNote('Kah Keli', 'קה קלי');
|
|
636
616
|
if (showGaonShirShelYom) {
|
|
@@ -660,27 +640,27 @@ function getAroundTheYearNotifications() {
|
|
|
660
640
|
switch (day) {
|
|
661
641
|
case 16:
|
|
662
642
|
addTefillahNote('הושענות - ' +
|
|
663
|
-
(dow ===
|
|
643
|
+
(dow === Utils_1.DaysOfWeek.SUNDAY
|
|
664
644
|
? 'למען אמתך'
|
|
665
645
|
: 'אבן שתיה'));
|
|
666
646
|
if (showGaonShirShelYom &&
|
|
667
|
-
dow !==
|
|
647
|
+
dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
668
648
|
addTefillahNote('שיר של יום - כ"ט - ..הבו לה\' בני אלים');
|
|
669
649
|
}
|
|
670
650
|
break;
|
|
671
651
|
case 17:
|
|
672
652
|
addTefillahNote((showEnglish ? 'Hoshanos' : 'הושענות') +
|
|
673
653
|
' - ' +
|
|
674
|
-
(dow ===
|
|
654
|
+
(dow === Utils_1.DaysOfWeek.SHABBOS
|
|
675
655
|
? 'אום נצורה'
|
|
676
656
|
: 'אערוך שועי'));
|
|
677
657
|
if (showGaonShirShelYom &&
|
|
678
|
-
dow !==
|
|
658
|
+
dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
679
659
|
addTefillahNote("שיר של יום - נ' - מזמור לאסף");
|
|
680
660
|
}
|
|
681
661
|
break;
|
|
682
662
|
case 18:
|
|
683
|
-
if (dow ===
|
|
663
|
+
if (dow === Utils_1.DaysOfWeek.SUNDAY) {
|
|
684
664
|
addTefillahNote((showEnglish ? 'Hoshanos' : 'הושענות') +
|
|
685
665
|
' - ' +
|
|
686
666
|
'אערוך שועי');
|
|
@@ -689,21 +669,21 @@ function getAroundTheYearNotifications() {
|
|
|
689
669
|
}
|
|
690
670
|
}
|
|
691
671
|
else {
|
|
692
|
-
if (dow ===
|
|
672
|
+
if (dow === Utils_1.DaysOfWeek.TUESDAY) {
|
|
693
673
|
addTefillahNote((showEnglish
|
|
694
674
|
? 'Hoshanos'
|
|
695
675
|
: 'הושענות') +
|
|
696
676
|
' - ' +
|
|
697
677
|
'אבן שתיה');
|
|
698
678
|
}
|
|
699
|
-
else if (dow ===
|
|
679
|
+
else if (dow === Utils_1.DaysOfWeek.THURSDAY) {
|
|
700
680
|
addTefillahNote((showEnglish
|
|
701
681
|
? 'Hoshanos'
|
|
702
682
|
: 'הושענות') +
|
|
703
683
|
' - ' +
|
|
704
684
|
'אום אני חומה');
|
|
705
685
|
}
|
|
706
|
-
else if (dow ===
|
|
686
|
+
else if (dow === Utils_1.DaysOfWeek.FRIDAY) {
|
|
707
687
|
addTefillahNote((showEnglish
|
|
708
688
|
? 'Hoshanos'
|
|
709
689
|
: 'הושענות') +
|
|
@@ -711,7 +691,7 @@ function getAroundTheYearNotifications() {
|
|
|
711
691
|
'א-ל למושעות');
|
|
712
692
|
}
|
|
713
693
|
if (showGaonShirShelYom &&
|
|
714
|
-
dow !==
|
|
694
|
+
dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
715
695
|
addTefillahNote('שיר של יום - צ"ד - ..מי יקום לי..');
|
|
716
696
|
}
|
|
717
697
|
}
|
|
@@ -719,12 +699,12 @@ function getAroundTheYearNotifications() {
|
|
|
719
699
|
case 19:
|
|
720
700
|
addTefillahNote((showEnglish ? 'Hoshanos' : 'הושענות') +
|
|
721
701
|
' - ' +
|
|
722
|
-
(dow ===
|
|
702
|
+
(dow === Utils_1.DaysOfWeek.SHABBOS
|
|
723
703
|
? 'אום נצורה'
|
|
724
704
|
: 'א-ל למושעות'));
|
|
725
705
|
if (showGaonShirShelYom &&
|
|
726
|
-
dow !==
|
|
727
|
-
if (dow ===
|
|
706
|
+
dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
707
|
+
if (dow === Utils_1.DaysOfWeek.MONDAY) {
|
|
728
708
|
addTefillahNote('שיר של יום - צ"ד - ..מי יקום לי..');
|
|
729
709
|
}
|
|
730
710
|
else {
|
|
@@ -735,12 +715,12 @@ function getAroundTheYearNotifications() {
|
|
|
735
715
|
case 20:
|
|
736
716
|
addTefillahNote((showEnglish ? 'Hoshanos' : 'הושענות') +
|
|
737
717
|
' - ' +
|
|
738
|
-
(dow ===
|
|
718
|
+
(dow === Utils_1.DaysOfWeek.SHABBOS
|
|
739
719
|
? 'אום נצורה'
|
|
740
720
|
: 'אדון המושיע'));
|
|
741
721
|
if (showGaonShirShelYom &&
|
|
742
|
-
dow !==
|
|
743
|
-
if (dow ===
|
|
722
|
+
dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
723
|
+
if (dow === Utils_1.DaysOfWeek.THURSDAY) {
|
|
744
724
|
addTefillahNote('שיר של יום - פ"א - למנצח על הגתית');
|
|
745
725
|
}
|
|
746
726
|
else {
|
|
@@ -761,7 +741,7 @@ function getAroundTheYearNotifications() {
|
|
|
761
741
|
addTefillahNote('Hoshanos', 'הושענות');
|
|
762
742
|
addTefillahNote('Full Hallel', 'הלל השלם');
|
|
763
743
|
if (showGaonShirShelYom) {
|
|
764
|
-
if (dow ===
|
|
744
|
+
if (dow === Utils_1.DaysOfWeek.FRIDAY) {
|
|
765
745
|
addTefillahNote('שיר של יום - פ"ב - מזמור לאסף');
|
|
766
746
|
}
|
|
767
747
|
else {
|
|
@@ -782,7 +762,7 @@ function getAroundTheYearNotifications() {
|
|
|
782
762
|
addTefillahNote('Yizkor', 'יזכור');
|
|
783
763
|
addTefillahNote('Tefilas Geshem', 'תפילת גשם');
|
|
784
764
|
addTefillahNote('משיב הרוח ומוריד הגשם');
|
|
785
|
-
if (showGaonShirShelYom && dow !==
|
|
765
|
+
if (showGaonShirShelYom && dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
786
766
|
addTefillahNote('שיר של יום - י"ב - למנצח על השמינית');
|
|
787
767
|
}
|
|
788
768
|
}
|
|
@@ -800,12 +780,12 @@ function getAroundTheYearNotifications() {
|
|
|
800
780
|
if (isNightTime) {
|
|
801
781
|
addDayNote('א גוטען ווינטער', 'חורף טוב');
|
|
802
782
|
}
|
|
803
|
-
else if (dow !==
|
|
783
|
+
else if (dow !== Utils_1.DaysOfWeek.SHABBOS && isMorning) {
|
|
804
784
|
noLaminatzeach();
|
|
805
785
|
}
|
|
806
786
|
}
|
|
807
787
|
}
|
|
808
|
-
else if (dow ===
|
|
788
|
+
else if (dow === Utils_1.DaysOfWeek.SHABBOS &&
|
|
809
789
|
[15, 17, 18, 19, 20].includes(day)) {
|
|
810
790
|
addTefillahNote('Megilas Koheles', 'מגילת קהלת');
|
|
811
791
|
}
|
|
@@ -818,25 +798,25 @@ function getAroundTheYearNotifications() {
|
|
|
818
798
|
break;
|
|
819
799
|
case 8: //Cheshvan
|
|
820
800
|
if (isDaytime &&
|
|
821
|
-
((dow ===
|
|
822
|
-
(dow ===
|
|
823
|
-
(dow ===
|
|
801
|
+
((dow === Utils_1.DaysOfWeek.MONDAY && day > 3 && day < 13) ||
|
|
802
|
+
(dow === Utils_1.DaysOfWeek.THURSDAY && day > 6 && day < 14) ||
|
|
803
|
+
(dow === Utils_1.DaysOfWeek.MONDAY && day > 10 && day < 18))) {
|
|
824
804
|
addTefillahNote('Ba`Hab', 'סליחות בה"ב');
|
|
825
805
|
addTefillahNote('Avinu Malkeinu', 'אבינו מלכנו');
|
|
826
806
|
}
|
|
827
807
|
if (day <= 22) {
|
|
828
808
|
addTefillahNote('Mashiv Haruach U`Morid Hageshem', 'משיב הרוח ומוריד הגשם');
|
|
829
809
|
}
|
|
830
|
-
if (day >= 7 && dow !==
|
|
810
|
+
if (day >= 7 && dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
831
811
|
addTefillahNote('V`sain Tal U`matar', 'ותן טל ומטר');
|
|
832
812
|
}
|
|
833
813
|
break;
|
|
834
814
|
case 9: //Kislev
|
|
835
|
-
if (day <= 7 && dow !==
|
|
815
|
+
if (day <= 7 && dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
836
816
|
addTefillahNote('V`sain Tal U`matar', 'ותן טל ומטר');
|
|
837
817
|
}
|
|
838
818
|
else if (day === 24 &&
|
|
839
|
-
dow !==
|
|
819
|
+
dow !== Utils_1.DaysOfWeek.SHABBOS &&
|
|
840
820
|
isAfternoon) {
|
|
841
821
|
dayInfo.noTachnun = true;
|
|
842
822
|
}
|
|
@@ -846,11 +826,11 @@ function getAroundTheYearNotifications() {
|
|
|
846
826
|
addTefillahNote('Al Hanissim', 'על הניסים');
|
|
847
827
|
if (isDaytime) {
|
|
848
828
|
addTefillahNote('Full Hallel', 'הלל השלם');
|
|
849
|
-
if (isMorning && dow !==
|
|
829
|
+
if (isMorning && dow !== Utils_1.DaysOfWeek.SHABBOS)
|
|
850
830
|
noLaminatzeach();
|
|
851
831
|
if (showGaonShirShelYom &&
|
|
852
832
|
day !== 30 &&
|
|
853
|
-
dow !==
|
|
833
|
+
dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
854
834
|
addTefillahNote("שיר של יום - ל' - מזמור שיר חנוכת הבית");
|
|
855
835
|
}
|
|
856
836
|
}
|
|
@@ -863,7 +843,7 @@ function getAroundTheYearNotifications() {
|
|
|
863
843
|
addTefillahNote('Al Hanissim', 'על הניסים');
|
|
864
844
|
if (isDaytime) {
|
|
865
845
|
addTefillahNote('Full Hallel', 'הלל השלם');
|
|
866
|
-
if (isMorning && dow !==
|
|
846
|
+
if (isMorning && dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
867
847
|
noLaminatzeach();
|
|
868
848
|
if (day !== 1 && showGaonShirShelYom) {
|
|
869
849
|
addTefillahNote("שיר של יום - ל' - מזמור שיר חנוכת הבית");
|
|
@@ -902,7 +882,7 @@ function getAroundTheYearNotifications() {
|
|
|
902
882
|
? 'Shushan Purim Katan'
|
|
903
883
|
: 'שושן פורים קטן');
|
|
904
884
|
dayInfo.noTachnun = true;
|
|
905
|
-
if (isMorning && dow !==
|
|
885
|
+
if (isMorning && dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
906
886
|
noLaminatzeach();
|
|
907
887
|
}
|
|
908
888
|
}
|
|
@@ -910,8 +890,8 @@ function getAroundTheYearNotifications() {
|
|
|
910
890
|
else {
|
|
911
891
|
//The "real" Adar: the only one in a non-leap-year or Adar Sheini
|
|
912
892
|
if (isDaytime &&
|
|
913
|
-
((day === 11 && dow ===
|
|
914
|
-
(day === 13 && dow !==
|
|
893
|
+
((day === 11 && dow === Utils_1.DaysOfWeek.THURSDAY) ||
|
|
894
|
+
(day === 13 && dow !== Utils_1.DaysOfWeek.SHABBOS))) {
|
|
915
895
|
if (isMorning) {
|
|
916
896
|
addDayNote('Fast of Ta`anis Esther', 'תענית אסתר');
|
|
917
897
|
addTefillahNote('Selichos', 'סליחות');
|
|
@@ -924,11 +904,11 @@ function getAroundTheYearNotifications() {
|
|
|
924
904
|
const isYerushalayim = location.Name === 'ירושלים';
|
|
925
905
|
if (day === 14) {
|
|
926
906
|
dayInfo.noTachnun = true;
|
|
927
|
-
if (isMorning && dow !==
|
|
907
|
+
if (isMorning && dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
928
908
|
noLaminatzeach();
|
|
929
909
|
}
|
|
930
910
|
//On a Purim Meshulash in Yerushalayim, מגילת אסתר is on י"ד
|
|
931
|
-
if (!isYerushalayim || dow ===
|
|
911
|
+
if (!isYerushalayim || dow === Utils_1.DaysOfWeek.FRIDAY) {
|
|
932
912
|
addDayNote('Megilas Esther', 'מגילת אסתר');
|
|
933
913
|
if (!isYerushalayim) {
|
|
934
914
|
addDayNote('Purim', 'פורים');
|
|
@@ -948,18 +928,18 @@ function getAroundTheYearNotifications() {
|
|
|
948
928
|
}
|
|
949
929
|
else if (day === 15) {
|
|
950
930
|
dayInfo.noTachnun = true;
|
|
951
|
-
if (isMorning && dow !==
|
|
931
|
+
if (isMorning && dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
952
932
|
noLaminatzeach();
|
|
953
933
|
}
|
|
954
934
|
if (isYerushalayim) {
|
|
955
935
|
addDayNote('Purim', 'פורים');
|
|
956
936
|
addTefillahNote('Al Hanissim', 'על הניסים');
|
|
957
|
-
if (dow !==
|
|
937
|
+
if (dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
958
938
|
addDayNote('Megilas Esther', 'מגילת אסתר');
|
|
959
939
|
}
|
|
960
940
|
if (showGaonShirShelYom &&
|
|
961
941
|
isDaytime &&
|
|
962
|
-
dow !==
|
|
942
|
+
dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
963
943
|
addTefillahNote('שיר של יום - כ"ב - למנצח על אילת השחר');
|
|
964
944
|
}
|
|
965
945
|
}
|
|
@@ -975,7 +955,7 @@ function getAroundTheYearNotifications() {
|
|
|
975
955
|
'לוד',
|
|
976
956
|
].includes(location.Name)) {
|
|
977
957
|
addDayNote('Purim D`Mukafin', 'פורים דמוקפין');
|
|
978
|
-
if (dow !==
|
|
958
|
+
if (dow !== Utils_1.DaysOfWeek.SHABBOS) {
|
|
979
959
|
addDayNote('(Megilas Esther)', '(מגילת אסתר)');
|
|
980
960
|
}
|
|
981
961
|
}
|
|
@@ -985,7 +965,7 @@ function getAroundTheYearNotifications() {
|
|
|
985
965
|
}
|
|
986
966
|
else if (day === 16 &&
|
|
987
967
|
isYerushalayim &&
|
|
988
|
-
dow ===
|
|
968
|
+
dow === Utils_1.DaysOfWeek.SUNDAY) {
|
|
989
969
|
addDayNote('Purim Seuda and Mishloach Manos', 'סעודת פורים ומשלוח מנות');
|
|
990
970
|
}
|
|
991
971
|
}
|