jcal-zmanim 1.5.13 → 1.5.14
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 +33 -32
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -68,6 +68,7 @@ function _inherits(subClass, superClass) {
|
|
|
68
68
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
69
69
|
}
|
|
70
70
|
function _instanceof(left, right) {
|
|
71
|
+
"@swc/helpers - instanceof";
|
|
71
72
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
72
73
|
return !!right[Symbol.hasInstance](left);
|
|
73
74
|
} else {
|
|
@@ -607,7 +608,7 @@ var _Zmanim = /*#__PURE__*/ function() {
|
|
|
607
608
|
value: /**
|
|
608
609
|
* @param {Date} date
|
|
609
610
|
*/ function dayOfYear(date) {
|
|
610
|
-
var month = date.getMonth(), isLeap = function() {
|
|
611
|
+
var month = date.getMonth(), isLeap = function isLeap() {
|
|
611
612
|
return DateUtils.isSecularLeapYear(date.getFullYear());
|
|
612
613
|
}, yearDay = [
|
|
613
614
|
0,
|
|
@@ -3484,7 +3485,7 @@ var yearTypeList = [
|
|
|
3484
3485
|
7
|
|
3485
3486
|
];
|
|
3486
3487
|
var elapsedDaysCache = /* @__PURE__ */ new Map();
|
|
3487
|
-
var getElapsedDays = function(year) {
|
|
3488
|
+
var getElapsedDays = function getElapsedDays(year) {
|
|
3488
3489
|
if (elapsedDaysCache.has(year)) return elapsedDaysCache.get(year);
|
|
3489
3490
|
var daysCounter = 0;
|
|
3490
3491
|
var months = DateUtils.toInt(235 * DateUtils.toInt((year - 1) / 19) + // Leap months this cycle
|
|
@@ -13919,7 +13920,7 @@ function getAroundTheYearNotifications() {
|
|
|
13919
13920
|
}
|
|
13920
13921
|
break;
|
|
13921
13922
|
case JewishMonthsNames.TAMUZ:
|
|
13922
|
-
if (
|
|
13923
|
+
if (day === 17 && DaysOfWeek.SHABBOS !== 6 || day === 18 && dow === DaysOfWeek.SUNDAY) {
|
|
13923
13924
|
addDayNote("Shiva Asar B`Tamuz", '\u05D9"\u05D6 \u05D1\u05EA\u05DE\u05D5\u05D6');
|
|
13924
13925
|
if (isDaytime) {
|
|
13925
13926
|
addTefillahNote("Avinu Malkeinu", "\u05D0\u05D1\u05D9\u05E0\u05D5 \u05DE\u05DC\u05DB\u05E0\u05D5");
|
|
@@ -13935,8 +13936,8 @@ function getAroundTheYearNotifications() {
|
|
|
13935
13936
|
dayInfo.noTachnun = true;
|
|
13936
13937
|
} else if (day === 9 && dow !== DaysOfWeek.SHABBOS || day === 10 && dow === DaysOfWeek.SUNDAY) {
|
|
13937
13938
|
addDayNote("Tish B`Av", "\u05EA\u05E9\u05E2\u05D4 \u05D1\u05D0\u05D1");
|
|
13939
|
+
addTefillahNote("Kinos", "\u05E7\u05D9\u05E0\u05D5\u05EA");
|
|
13938
13940
|
if (isDaytime) {
|
|
13939
|
-
addTefillahNote("Kinos", "\u05E7\u05D9\u05E0\u05D5\u05EA");
|
|
13940
13941
|
addTefillahNote("Aneinu", "\u05E2\u05E0\u05E0\u05D5");
|
|
13941
13942
|
if (isMorning && dow !== DaysOfWeek.SHABBOS) {
|
|
13942
13943
|
noLaminatzeach();
|