jcal-zmanim 1.5.12 → 1.5.13
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/README.md +51 -23
- package/dist/README.md +51 -23
- package/dist/index.cjs +41 -27
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +41 -27
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,6 +2,35 @@
|
|
|
2
2
|
|
|
3
3
|
A comprehensive JavaScript library for the Jewish Calendar.
|
|
4
4
|
|
|
5
|
+
## Table of Contents
|
|
6
|
+
|
|
7
|
+
### Getting Started
|
|
8
|
+
|
|
9
|
+
- [Installation](#to-add-jcal-zmanim-to-your-project)
|
|
10
|
+
- [Basic Usage](#some-basic-uses-of-jcal-zmanim)
|
|
11
|
+
|
|
12
|
+
### API Reference
|
|
13
|
+
|
|
14
|
+
- [The jDate Object](#the-jdate-object)
|
|
15
|
+
- [Creating a jDate](#creating-a-jdate-instance)
|
|
16
|
+
- [Properties and Functions](#jdate-instance-properties-and-functions)
|
|
17
|
+
- [Static Properties and Functions](#jdate-static-properties-and-functions)
|
|
18
|
+
- [The Location Object](#the-location-object)
|
|
19
|
+
- [Finding a Location](#finding-a-location)
|
|
20
|
+
- [Properties and Functions](#location-properties-and-functions)
|
|
21
|
+
- [Creating a Location](#creating-a-new-location)
|
|
22
|
+
- [Polar Regions](#polar-regions)
|
|
23
|
+
- [Zmanim](#zmanim)
|
|
24
|
+
- [Zmanim Types](#zmanim-types)
|
|
25
|
+
- [Calculate other Zmanim](#calculate-other-zmanim)
|
|
26
|
+
- [The Sedra Object](#the-sedra-object)
|
|
27
|
+
- [The Dafyomi Object](#the-dafyomi-object)
|
|
28
|
+
- [The Molad Functions](#the-molad-functions)
|
|
29
|
+
- [Daily Notifications](#daily-notifications-and-shul-notifications)
|
|
30
|
+
- [The Utils Functions](#the-utils-functions)
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
5
34
|
### To add _jcal-zmanim_ to your project
|
|
6
35
|
|
|
7
36
|
> _npm install jcal-zmanim_
|
|
@@ -10,13 +39,6 @@ OR
|
|
|
10
39
|
|
|
11
40
|
> _yarn add jcal-zmanim_
|
|
12
41
|
|
|
13
|
-
### Performance
|
|
14
|
-
|
|
15
|
-
As of version 1.5.8, `jcal-zmanim` includes built-in caching for complex astronomical and calendar calculations.
|
|
16
|
-
|
|
17
|
-
- **Zmanim Caching:** Sunrise/Sunset calculations are cached per date/location to improve performance when rendering calendars or lists of zmanim.
|
|
18
|
-
- **Calendar Caching:** Year-based calculations are cached to speed up date conversions and manipulations.
|
|
19
|
-
|
|
20
42
|
### Some basic uses of _jcal-zmanim_
|
|
21
43
|
|
|
22
44
|
##### Print out todays Jewish Date
|
|
@@ -144,19 +166,25 @@ The code above, prints out to the console:
|
|
|
144
166
|
|
|
145
167
|
## The jDate object
|
|
146
168
|
|
|
147
|
-
A _jDate_ is a single day in the Jewish Calendar
|
|
169
|
+
A **_jDate_** is a **single day in the Jewish Calendar**.<br>
|
|
148
170
|
It is used as the basic date unit throughout jcal-zmanim.
|
|
149
171
|
|
|
150
172
|
```javascript
|
|
151
173
|
import { jDate } from "jcal-zmanim";
|
|
152
174
|
|
|
153
|
-
//
|
|
175
|
+
//Create a jDate object for todays Date.
|
|
154
176
|
const jdate = new jDate();
|
|
155
|
-
|
|
156
|
-
//The following will output the above Jewish Date in the format: Thursday, the 3rd of Kislev 5784.
|
|
157
177
|
console.log(jdate.toString());
|
|
178
|
+
//Output: Wednesday, the 18th of Teves 5786
|
|
179
|
+
|
|
180
|
+
//Create a jDate object for January 9 2035.
|
|
181
|
+
const jdate2 = new jDate("January 9 2035");
|
|
182
|
+
console.log(jdate2.toStringHeb());
|
|
183
|
+
//Output: יום שלישי כ"ח טבת תשצ"ה
|
|
158
184
|
```
|
|
159
185
|
|
|
186
|
+
It is important to note that in jcal-zmanim, the Jewish Months start at Nissan (1) and end at Adar Sheini (13) as it is in the Torah.
|
|
187
|
+
|
|
160
188
|
### Creating a jDate instance
|
|
161
189
|
|
|
162
190
|
A jDate can be created in a number of ways:
|
|
@@ -164,7 +192,7 @@ A jDate can be created in a number of ways:
|
|
|
164
192
|
#### Create a jDate using the jDate constructor
|
|
165
193
|
|
|
166
194
|
- `const jdate = new jDate()` - Sets the Jewish Date for the current system date
|
|
167
|
-
- `const jdate = new jDate(
|
|
195
|
+
- `const jdate = new jDate(Date)` - Sets to the Jewish date on the given Javascript/Typescript Date object
|
|
168
196
|
- `const jdate = new jDate("January 1 2045")` - Accepts any valid javascript Date string (uses JavaScript's new Date(string))
|
|
169
197
|
- `const jdate = new jDate(jewishYear, jewishMonth, jewishDay)` - Months start at 1. Nissan is month 1 Adar Sheini is 13.
|
|
170
198
|
- `const jdate = new jDate(jewishYear, jewishMonth)` - Same as above, with Day defaulting to 1
|
|
@@ -175,20 +203,20 @@ A jDate can be created in a number of ways:
|
|
|
175
203
|
- `const jdate = new jDate(jewishYear, jewishMonth, jewishDay, absoluteDate)` - Most efficient constructor. Needs no calculations at all.
|
|
176
204
|
- `const jdate = new jDate( { year: 5776, month: 4, day: 5, abs: 122548708 } )` - same as new jDate(jewishYear, jewishMonth, jewishDay, absoluteDate)
|
|
177
205
|
|
|
178
|
-
|
|
206
|
+
### Static jDate Constructors
|
|
179
207
|
|
|
180
|
-
- `jDate
|
|
208
|
+
- Besides for `new jDate()`, you can also use `jDate.now()` to get the current Jewish Date.
|
|
181
209
|
|
|
182
210
|
```javascript
|
|
183
|
-
//To print out the current Jewish Date in English.
|
|
184
|
-
console.log(jDate.toJDate().toString());
|
|
185
211
|
//A shortcut to get the current jDate.
|
|
186
212
|
const currentJDate = jDate.now();
|
|
213
|
+
//To print out the current Jewish Date in English.
|
|
214
|
+
console.log(currentJDate.toString());
|
|
187
215
|
//To print out the current Jewish Date in Hebrew:
|
|
188
|
-
console.log(
|
|
216
|
+
console.log(currentJDate.toStringHeb());
|
|
189
217
|
```
|
|
190
218
|
|
|
191
|
-
- `jDate.toJDate(Date)`
|
|
219
|
+
- The static function `jDate.toJDate(Date)` can also be used to convert a Javascript Date object to a jDate object.
|
|
192
220
|
- `jDate.toJDate("January 1 2045")` - Accepts any valid Javascript Date string (uses string constructor of Date object)
|
|
193
221
|
|
|
194
222
|
```javascript
|
|
@@ -343,13 +371,13 @@ import { Location } from "jcal-zmanim";
|
|
|
343
371
|
|
|
344
372
|
const myLocation = new Location(
|
|
345
373
|
"Nowhere", // The location name
|
|
346
|
-
"יהופיץ", //The name in Hebrew
|
|
374
|
+
"יהופיץ", // The name in Hebrew
|
|
347
375
|
false, // This place is not in Israel
|
|
348
|
-
35.01
|
|
349
|
-
|
|
350
|
-
11, // The Time Zone: The number of hours offset from UTC
|
|
376
|
+
35.01, // The latitude. North is positive
|
|
377
|
+
155.23, // The longitude. East is negative
|
|
378
|
+
11, // The Time Zone: The number of hours offset from UTC
|
|
351
379
|
1106, // The elevation in Meters. (Feet x 3.2808)
|
|
352
|
-
18 // The number of minutes before sunset candles are lit on Erev Shabbos
|
|
380
|
+
18 // The number of minutes before sunset candles are lit on Erev Shabbos
|
|
353
381
|
);
|
|
354
382
|
```
|
|
355
383
|
|
package/dist/README.md
CHANGED
|
@@ -2,6 +2,35 @@
|
|
|
2
2
|
|
|
3
3
|
A comprehensive JavaScript library for the Jewish Calendar.
|
|
4
4
|
|
|
5
|
+
## Table of Contents
|
|
6
|
+
|
|
7
|
+
### Getting Started
|
|
8
|
+
|
|
9
|
+
- [Installation](#to-add-jcal-zmanim-to-your-project)
|
|
10
|
+
- [Basic Usage](#some-basic-uses-of-jcal-zmanim)
|
|
11
|
+
|
|
12
|
+
### API Reference
|
|
13
|
+
|
|
14
|
+
- [The jDate Object](#the-jdate-object)
|
|
15
|
+
- [Creating a jDate](#creating-a-jdate-instance)
|
|
16
|
+
- [Properties and Functions](#jdate-instance-properties-and-functions)
|
|
17
|
+
- [Static Properties and Functions](#jdate-static-properties-and-functions)
|
|
18
|
+
- [The Location Object](#the-location-object)
|
|
19
|
+
- [Finding a Location](#finding-a-location)
|
|
20
|
+
- [Properties and Functions](#location-properties-and-functions)
|
|
21
|
+
- [Creating a Location](#creating-a-new-location)
|
|
22
|
+
- [Polar Regions](#polar-regions)
|
|
23
|
+
- [Zmanim](#zmanim)
|
|
24
|
+
- [Zmanim Types](#zmanim-types)
|
|
25
|
+
- [Calculate other Zmanim](#calculate-other-zmanim)
|
|
26
|
+
- [The Sedra Object](#the-sedra-object)
|
|
27
|
+
- [The Dafyomi Object](#the-dafyomi-object)
|
|
28
|
+
- [The Molad Functions](#the-molad-functions)
|
|
29
|
+
- [Daily Notifications](#daily-notifications-and-shul-notifications)
|
|
30
|
+
- [The Utils Functions](#the-utils-functions)
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
5
34
|
### To add _jcal-zmanim_ to your project
|
|
6
35
|
|
|
7
36
|
> _npm install jcal-zmanim_
|
|
@@ -10,13 +39,6 @@ OR
|
|
|
10
39
|
|
|
11
40
|
> _yarn add jcal-zmanim_
|
|
12
41
|
|
|
13
|
-
### Performance
|
|
14
|
-
|
|
15
|
-
As of version 1.5.8, `jcal-zmanim` includes built-in caching for complex astronomical and calendar calculations.
|
|
16
|
-
|
|
17
|
-
- **Zmanim Caching:** Sunrise/Sunset calculations are cached per date/location to improve performance when rendering calendars or lists of zmanim.
|
|
18
|
-
- **Calendar Caching:** Year-based calculations are cached to speed up date conversions and manipulations.
|
|
19
|
-
|
|
20
42
|
### Some basic uses of _jcal-zmanim_
|
|
21
43
|
|
|
22
44
|
##### Print out todays Jewish Date
|
|
@@ -144,19 +166,25 @@ The code above, prints out to the console:
|
|
|
144
166
|
|
|
145
167
|
## The jDate object
|
|
146
168
|
|
|
147
|
-
A _jDate_ is a single day in the Jewish Calendar
|
|
169
|
+
A **_jDate_** is a **single day in the Jewish Calendar**.<br>
|
|
148
170
|
It is used as the basic date unit throughout jcal-zmanim.
|
|
149
171
|
|
|
150
172
|
```javascript
|
|
151
173
|
import { jDate } from "jcal-zmanim";
|
|
152
174
|
|
|
153
|
-
//
|
|
175
|
+
//Create a jDate object for todays Date.
|
|
154
176
|
const jdate = new jDate();
|
|
155
|
-
|
|
156
|
-
//The following will output the above Jewish Date in the format: Thursday, the 3rd of Kislev 5784.
|
|
157
177
|
console.log(jdate.toString());
|
|
178
|
+
//Output: Wednesday, the 18th of Teves 5786
|
|
179
|
+
|
|
180
|
+
//Create a jDate object for January 9 2035.
|
|
181
|
+
const jdate2 = new jDate("January 9 2035");
|
|
182
|
+
console.log(jdate2.toStringHeb());
|
|
183
|
+
//Output: יום שלישי כ"ח טבת תשצ"ה
|
|
158
184
|
```
|
|
159
185
|
|
|
186
|
+
It is important to note that in jcal-zmanim, the Jewish Months start at Nissan (1) and end at Adar Sheini (13) as it is in the Torah.
|
|
187
|
+
|
|
160
188
|
### Creating a jDate instance
|
|
161
189
|
|
|
162
190
|
A jDate can be created in a number of ways:
|
|
@@ -164,7 +192,7 @@ A jDate can be created in a number of ways:
|
|
|
164
192
|
#### Create a jDate using the jDate constructor
|
|
165
193
|
|
|
166
194
|
- `const jdate = new jDate()` - Sets the Jewish Date for the current system date
|
|
167
|
-
- `const jdate = new jDate(
|
|
195
|
+
- `const jdate = new jDate(Date)` - Sets to the Jewish date on the given Javascript/Typescript Date object
|
|
168
196
|
- `const jdate = new jDate("January 1 2045")` - Accepts any valid javascript Date string (uses JavaScript's new Date(string))
|
|
169
197
|
- `const jdate = new jDate(jewishYear, jewishMonth, jewishDay)` - Months start at 1. Nissan is month 1 Adar Sheini is 13.
|
|
170
198
|
- `const jdate = new jDate(jewishYear, jewishMonth)` - Same as above, with Day defaulting to 1
|
|
@@ -175,20 +203,20 @@ A jDate can be created in a number of ways:
|
|
|
175
203
|
- `const jdate = new jDate(jewishYear, jewishMonth, jewishDay, absoluteDate)` - Most efficient constructor. Needs no calculations at all.
|
|
176
204
|
- `const jdate = new jDate( { year: 5776, month: 4, day: 5, abs: 122548708 } )` - same as new jDate(jewishYear, jewishMonth, jewishDay, absoluteDate)
|
|
177
205
|
|
|
178
|
-
|
|
206
|
+
### Static jDate Constructors
|
|
179
207
|
|
|
180
|
-
- `jDate
|
|
208
|
+
- Besides for `new jDate()`, you can also use `jDate.now()` to get the current Jewish Date.
|
|
181
209
|
|
|
182
210
|
```javascript
|
|
183
|
-
//To print out the current Jewish Date in English.
|
|
184
|
-
console.log(jDate.toJDate().toString());
|
|
185
211
|
//A shortcut to get the current jDate.
|
|
186
212
|
const currentJDate = jDate.now();
|
|
213
|
+
//To print out the current Jewish Date in English.
|
|
214
|
+
console.log(currentJDate.toString());
|
|
187
215
|
//To print out the current Jewish Date in Hebrew:
|
|
188
|
-
console.log(
|
|
216
|
+
console.log(currentJDate.toStringHeb());
|
|
189
217
|
```
|
|
190
218
|
|
|
191
|
-
- `jDate.toJDate(Date)`
|
|
219
|
+
- The static function `jDate.toJDate(Date)` can also be used to convert a Javascript Date object to a jDate object.
|
|
192
220
|
- `jDate.toJDate("January 1 2045")` - Accepts any valid Javascript Date string (uses string constructor of Date object)
|
|
193
221
|
|
|
194
222
|
```javascript
|
|
@@ -343,13 +371,13 @@ import { Location } from "jcal-zmanim";
|
|
|
343
371
|
|
|
344
372
|
const myLocation = new Location(
|
|
345
373
|
"Nowhere", // The location name
|
|
346
|
-
"יהופיץ", //The name in Hebrew
|
|
374
|
+
"יהופיץ", // The name in Hebrew
|
|
347
375
|
false, // This place is not in Israel
|
|
348
|
-
35.01
|
|
349
|
-
|
|
350
|
-
11, // The Time Zone: The number of hours offset from UTC
|
|
376
|
+
35.01, // The latitude. North is positive
|
|
377
|
+
155.23, // The longitude. East is negative
|
|
378
|
+
11, // The Time Zone: The number of hours offset from UTC
|
|
351
379
|
1106, // The elevation in Meters. (Feet x 3.2808)
|
|
352
|
-
18 // The number of minutes before sunset candles are lit on Erev Shabbos
|
|
380
|
+
18 // The number of minutes before sunset candles are lit on Erev Shabbos
|
|
353
381
|
);
|
|
354
382
|
```
|
|
355
383
|
|
package/dist/index.cjs
CHANGED
|
@@ -301,22 +301,13 @@ var DateUtils = /*#__PURE__*/ function() {
|
|
|
301
301
|
value: /**
|
|
302
302
|
* Add two character suffix to number. e.g. 21st, 102nd, 93rd, 500th
|
|
303
303
|
*/ function toSuffixed(num) {
|
|
304
|
-
var
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
case "2":
|
|
312
|
-
suffix = "nd";
|
|
313
|
-
break;
|
|
314
|
-
case "3":
|
|
315
|
-
suffix = "rd";
|
|
316
|
-
break;
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
return t + suffix;
|
|
304
|
+
var suffixes = [
|
|
305
|
+
"th",
|
|
306
|
+
"st",
|
|
307
|
+
"nd",
|
|
308
|
+
"rd"
|
|
309
|
+
];
|
|
310
|
+
return num.toString() + (suffixes[(num % 100 - 20) % 10] || suffixes[num % 10] || suffixes[0]);
|
|
320
311
|
}
|
|
321
312
|
},
|
|
322
313
|
{
|
|
@@ -13549,7 +13540,7 @@ var _ZmanimUtils = /*#__PURE__*/ function() {
|
|
|
13549
13540
|
}
|
|
13550
13541
|
break;
|
|
13551
13542
|
case ZmanTypeIds.SofZmanEatingChometz:
|
|
13552
|
-
if (shaaZmanisMga && jdate.Month === 1 && jdate.Day === 14
|
|
13543
|
+
if (shaaZmanisMga && jdate.Month === 1 && jdate.Day === 14) {
|
|
13553
13544
|
zmanTimes.push({
|
|
13554
13545
|
zmanType: zmanType,
|
|
13555
13546
|
time: Utils.addMinutes(sunrise, -90 + offset + shaaZmanisMga * 4)
|
|
@@ -13557,7 +13548,7 @@ var _ZmanimUtils = /*#__PURE__*/ function() {
|
|
|
13557
13548
|
}
|
|
13558
13549
|
break;
|
|
13559
13550
|
case ZmanTypeIds.SofZmanBurnChometz:
|
|
13560
|
-
if (shaaZmanisMga && jdate.Month === 1 && (jdate.Day === 14 || jdate.DayOfWeek === DaysOfWeek.FRIDAY && jdate.Day === 13)
|
|
13551
|
+
if (shaaZmanisMga && jdate.Month === 1 && (jdate.Day === 14 && jdate.DayOfWeek !== DaysOfWeek.SHABBOS || jdate.DayOfWeek === DaysOfWeek.FRIDAY && jdate.Day === 13)) {
|
|
13561
13552
|
zmanTimes.push({
|
|
13562
13553
|
zmanType: zmanType,
|
|
13563
13554
|
time: Utils.addMinutes(sunrise, -90 + offset + shaaZmanisMga * 5)
|
|
@@ -13846,9 +13837,28 @@ function getAroundTheYearNotifications() {
|
|
|
13846
13837
|
if (dow !== DaysOfWeek.SHABBOS && day > 15 && day !== 21) {
|
|
13847
13838
|
addTefillahNote("Vesain Bracha", "\u05D5\u05EA\u05DF \u05D1\u05E8\u05DB\u05D4");
|
|
13848
13839
|
}
|
|
13840
|
+
if (!isNightTime && (dow !== DaysOfWeek.THURSDAY && day === 13 || dow === DaysOfWeek.WEDNESDAY && day === 12)) {
|
|
13841
|
+
addDayNote("Bedikas Chometz Tonight", "\u05D1\u05D3\u05D9\u05E7\u05EA \u05D7\u05DE\u05E5 \u05D1\u05E2\u05E8\u05D1");
|
|
13842
|
+
}
|
|
13849
13843
|
if (isNightTime && (dow !== DaysOfWeek.FRIDAY && day === 14 || dow === DaysOfWeek.THURSDAY && day === 13)) {
|
|
13850
13844
|
addDayNote("Bedikas Chometz", "\u05D1\u05D3\u05D9\u05E7\u05EA \u05D7\u05DE\u05E5");
|
|
13851
13845
|
}
|
|
13846
|
+
if (day === 14) {
|
|
13847
|
+
var eatingZman = ZmanimUtils.getZmanTimes([
|
|
13848
|
+
getZmanType(ZmanTypeIds.SofZmanEatingChometz)
|
|
13849
|
+
], sdate, jdate, location)[0];
|
|
13850
|
+
if (eatingZman && eatingZman.time) {
|
|
13851
|
+
addDayNote("Sof Zman Eating Chometz: ".concat(Utils.getTimeString(eatingZman.time)), "סוף זמן אכילת חמץ: ".concat(Utils.getTimeString(eatingZman.time)));
|
|
13852
|
+
}
|
|
13853
|
+
}
|
|
13854
|
+
if (day === 14 && dow !== DaysOfWeek.SHABBOS || day === 13 && dow === DaysOfWeek.FRIDAY) {
|
|
13855
|
+
var burnZman = ZmanimUtils.getZmanTimes([
|
|
13856
|
+
getZmanType(ZmanTypeIds.SofZmanBurnChometz)
|
|
13857
|
+
], sdate, jdate, location)[0];
|
|
13858
|
+
if (burnZman && burnZman.time) {
|
|
13859
|
+
addDayNote("Sof Zman Burn Chometz: ".concat(Utils.getTimeString(burnZman.time)), "סוף זמן ביעור חמץ: ".concat(Utils.getTimeString(burnZman.time)));
|
|
13860
|
+
}
|
|
13861
|
+
}
|
|
13852
13862
|
if (isMorning && dow !== DaysOfWeek.SHABBOS && [
|
|
13853
13863
|
14,
|
|
13854
13864
|
16,
|
|
@@ -14024,8 +14034,8 @@ function getAroundTheYearNotifications() {
|
|
|
14024
14034
|
break;
|
|
14025
14035
|
case JewishMonthsNames.TAMUZ:
|
|
14026
14036
|
if (isDaytime && (day === 17 && DaysOfWeek.SHABBOS !== 6 || day === 18 && dow === DaysOfWeek.SUNDAY)) {
|
|
14037
|
+
addDayNote("Shiva Asar B`Tamuz", '\u05D9"\u05D6 \u05D1\u05EA\u05DE\u05D5\u05D6');
|
|
14027
14038
|
if (isDaytime) {
|
|
14028
|
-
addDayNote("Shiva Asar B`Tamuz", '\u05D9"\u05D6 \u05D1\u05EA\u05DE\u05D5\u05D6');
|
|
14029
14039
|
addTefillahNote("Avinu Malkeinu", "\u05D0\u05D1\u05D9\u05E0\u05D5 \u05DE\u05DC\u05DB\u05E0\u05D5");
|
|
14030
14040
|
addTefillahNote("Aneinu", "\u05E2\u05E0\u05E0\u05D5");
|
|
14031
14041
|
}
|
|
@@ -14131,8 +14141,8 @@ function getAroundTheYearNotifications() {
|
|
|
14131
14141
|
break;
|
|
14132
14142
|
case 3:
|
|
14133
14143
|
if (dow !== DaysOfWeek.SHABBOS) {
|
|
14144
|
+
addDayNote("Fast of Tzom Gedalya", "\u05E6\u05D5\u05DD \u05D2\u05D3\u05DC\u05D9\u05D4");
|
|
14134
14145
|
if (isDaytime) {
|
|
14135
|
-
addDayNote("Fast of Tzom Gedalya", "\u05E6\u05D5\u05DD \u05D2\u05D3\u05DC\u05D9\u05D4");
|
|
14136
14146
|
addTefillahNote("Aneinu", "\u05E2\u05E0\u05E0\u05D5");
|
|
14137
14147
|
}
|
|
14138
14148
|
if (isAfterChatzosHalayla || isMorning) {
|
|
@@ -14143,8 +14153,8 @@ function getAroundTheYearNotifications() {
|
|
|
14143
14153
|
break;
|
|
14144
14154
|
case 4:
|
|
14145
14155
|
if (dow === DaysOfWeek.SUNDAY) {
|
|
14156
|
+
addDayNote("Fast of Tzom Gedalya", "\u05E6\u05D5\u05DD \u05D2\u05D3\u05DC\u05D9\u05D4");
|
|
14146
14157
|
if (isDaytime) {
|
|
14147
|
-
addDayNote("Fast of Tzom Gedalya", "\u05E6\u05D5\u05DD \u05D2\u05D3\u05DC\u05D9\u05D4");
|
|
14148
14158
|
addTefillahNote("Aneinu", "\u05E2\u05E0\u05E0\u05D5");
|
|
14149
14159
|
}
|
|
14150
14160
|
if (isAfterChatzosHalayla || isMorning) {
|
|
@@ -14390,13 +14400,15 @@ function getAroundTheYearNotifications() {
|
|
|
14390
14400
|
}
|
|
14391
14401
|
}
|
|
14392
14402
|
}
|
|
14393
|
-
} else if (day === 10
|
|
14403
|
+
} else if (day === 10) {
|
|
14394
14404
|
addDayNote("Fast of Asara B`Teves", "\u05E2\u05E9\u05E8\u05D4 \u05D1\u05D8\u05D1\u05EA");
|
|
14395
14405
|
if (isMorning) {
|
|
14396
14406
|
addTefillahNote("Selichos", "\u05E1\u05DC\u05D9\u05D7\u05D5\u05EA");
|
|
14397
14407
|
}
|
|
14398
|
-
|
|
14399
|
-
|
|
14408
|
+
if (isDaytime) {
|
|
14409
|
+
addTefillahNote("Avinu Malkeinu", "\u05D0\u05D1\u05D9\u05E0\u05D5 \u05DE\u05DC\u05DB\u05E0\u05D5");
|
|
14410
|
+
addTefillahNote("Aneinu", "\u05E2\u05E0\u05E0\u05D5");
|
|
14411
|
+
}
|
|
14400
14412
|
}
|
|
14401
14413
|
break;
|
|
14402
14414
|
case JewishMonthsNames.SHVAT:
|
|
@@ -14424,12 +14436,14 @@ function getAroundTheYearNotifications() {
|
|
|
14424
14436
|
}
|
|
14425
14437
|
} else {
|
|
14426
14438
|
if (isDaytime && (day === 11 && dow === DaysOfWeek.THURSDAY || day === 13 && dow !== DaysOfWeek.SHABBOS)) {
|
|
14439
|
+
addDayNote("Fast of Ta`anis Esther", "\u05EA\u05E2\u05E0\u05D9\u05EA \u05D0\u05E1\u05EA\u05E8");
|
|
14427
14440
|
if (isMorning) {
|
|
14428
|
-
addDayNote("Fast of Ta`anis Esther", "\u05EA\u05E2\u05E0\u05D9\u05EA \u05D0\u05E1\u05EA\u05E8");
|
|
14429
14441
|
addTefillahNote("Selichos", "\u05E1\u05DC\u05D9\u05D7\u05D5\u05EA");
|
|
14430
14442
|
}
|
|
14431
|
-
|
|
14432
|
-
|
|
14443
|
+
if (isDaytime) {
|
|
14444
|
+
addTefillahNote("Avinu Malkeinu", "\u05D0\u05D1\u05D9\u05E0\u05D5 \u05DE\u05DC\u05DB\u05E0\u05D5");
|
|
14445
|
+
addTefillahNote("Aneinu", "\u05E2\u05E0\u05E0\u05D5");
|
|
14446
|
+
}
|
|
14433
14447
|
} else {
|
|
14434
14448
|
var isYerushalayim = location.Name === "Jerusalem" || location.NameHebrew === "\u05D9\u05E8\u05D5\u05E9\u05DC\u05D9\u05DD";
|
|
14435
14449
|
if (day === 14) {
|