Skip to content

Commit

Permalink
QOL Updates
Browse files Browse the repository at this point in the history
1. Grammar touchups, consistent footnotes
2. Source Tikun Rahel
3. Fix RAB"A Tekufa Shema Kolenu
4. More AI translation
5. Remove link to HS"N
6. Allow fake paragraphs, in case we need an hr in the footnotes
  • Loading branch information
NightScript370 committed Dec 5, 2024
1 parent 9d57312 commit 93f1d21
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 14 deletions.
10 changes: 5 additions & 5 deletions _includes/printcal/differences.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

To represent two physical calendars, we added a "calendar mode" toggle on our website. This is reflected when exporting the PDF, and one can see which mode they are on by looking at the bottom left. The differences are explained in the "Seasonal Hours + Alot/Tzet" section

###### Seasonal Hours + Alot/Tzet
###### Seasonal Hours + Dawn/Nightfall

We use the length of the day from sunrise until sunset to determine all Halachic times, whether within the day or *times before sunrise/after sunset*. This means that, just like degree calculations (and unlike some calendars that used fixed minutes), these times are longer in the summer; that's because the days are longer in the summer. However, unlike both degrees calculation (for times outside sunrise->sunset) and fixed minutes, these times are *shorter* in the winter months, despite astronomy dictating that these times should be longer for times outside the day's length. There are a few exceptions, though, when we use other methods of calculation (dawn->nightfall seasonal, degrees, fixed) instead of seasonal sunrise->sunset times:

- Keriath Shema & Hametz use seasonal time calculated from Dawn until nightfall
- Keriath Shema & Hametz use seasonal time calculated from Dawn until Nightfall
- Minḥa Gedolah uses a fixed 30 minute minimum, for the winter months
- Shabbat needs some conformity to astronomical sightings, so we use pure degrees in the Amudeh Hora'ah calendar (7.14) and 40 minutes for the Ohr Hachaim calendar.
- Rabbenu Tam's Nightfall displays a maximum of 72 fixed minutes in the Amudeh Hora'ah calendar, based on both R' Yitzhak Yosef & R' David Yosef. This does **not** apply to the Ohr Hachaim calendar, though, which explicitly follows R' Ovadia that said one *should* use 72 seasonal minutes, both for leniencies & stringencies.
Expand All @@ -16,7 +16,7 @@ For the time portions outside of the days length, the Amudeh Hora'ah calendar us

---

The Talmudic way of referring to the length of time behind these times is a "mil", which we hold is 18 minutes. Thereby, ¾<sup>th</sup> of a mil is 13 ½ minutes (used for Geonim's nightfall) and 4 mil is 72 minutes (used for dawn and R"T's nightfall). For special occasions (such as ending a fast), we would switch to the Rambam's mil equivalence of 24 minutes, making 3/4<sup>th</sup> of it as 18 minutes. From there, we would round it up to the nearest 10, making it 20 seasonal minutes after sunset.
The Talmudic way of referring to the measurement behind these times is a "mil", which we hold is 18 minutes. Thereby, ¾<sup>th</sup> of a mil is 13 ½ minutes (used for Geonim's nightfall) and 4 mil is 72 minutes (used for dawn and R"T's nightfall). For special occasions (such as ending a fast), we would switch to the Rambam's mil equivalence of 24 minutes, making it's rounded up ¾<sup>th</sup> value as 20 minutes after sunset.

###### Sunrise/Sunset

Expand All @@ -26,13 +26,13 @@ When reporting the times for the calendar, the given time differs from the sunri

These times are provided from the **NOAA algorithm**.

###### Ḥatzot
###### Midday

Everyday is counted *independently* (as opposed to a mean value), being the halfway point between sunrise->sunset (not sunrise->tzet)

###### Plag Haminḥa

In addition to the GR"A's Plag Haminḥa (held by Maran Ovadia in Halichot Olam & R' David in Halacha Berurah), we offer the time for Plag Haminḥa according to R' Yitzhak Yosef & R' Avraham Yosef. This retains the GR"A's seasonal minutes while counting backwards from the Geonic nightfall (which as established above is 13 ½ minutes after sunset).
In addition to the GR"A's Plag Haminḥa (held by Maran Ovadia in Halichot Olam & R' David in Halacha Berura), we offer the time for Plag Haminḥa according to R' Yitzhak Yosef & R' Avraham Yosef. This retains the GR"A's seasonal minutes while counting backwards from the Geonic nightfall (which as established above is 13 ½ minutes after sunset).

###### Tekufot

Expand Down
4 changes: 2 additions & 2 deletions _includes/printcal/misc.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ Although the usual method of calculating seasonal hours is from sunrise until su

The "Molad" (birth) is the reappearence of the moon in the sky after the conclusion of its shape-change cycle. Practically, we use them to determine the new month and when one can say <span style="unicode-bidi: plaintext;">ברכת הלבנה</span>.

The calculation of the Molad was developed by Hillel the 2<sup>nd</sup><span class="footnote">The previous system of interrogation was no longer possible after the dispersion of the Sanhedrin.</span>, utilizing a fixed time from the previous one. It is then converted to an "hours and Ḥalakim"<span class="footnote">Each Ḥelek is 1&frasl;18<sup>th</sup> of a minute, composing 1080 individual Ḥalakim in an hour</span>, meant to be added after the mean-time sunset<span class="footnote">Rabbi Yonah Martzabach z"l in sefer Aleh Yonah (page 35) who rejects Rav Tikuchinsky z"l's viewpoint (Ben HaShmashot page 102) to consider night in this regard as 6 fixed hours after midday of the prior day in any given time of the year.</span> of the Temple Mount's location.<span class="footnote">The mean-sunset of the Temple Mount happens at 5:39 PM/17:39 of IST (Israel Standard Timezone). The arbitrary time of 6:00 PM/18:00 IST cannot be used since it's centered around a location that is too late to include our base of the Temple Mount.</span> The Israeli Molad is then used to determine the molad everywhere else in the world, happening at the same time<span class="footnote">Rav Yosef Eliyahu Henkin z”l (Edut LeYisrael page 146b letter 15) and many many more. See Amudeh Hora'ah (vol. 4 Biur Hora'ah siman 428).</span> (timezones excluded).
The calculation of the Molad was developed by Hillel the 2<sup>nd</sup>,<span class="footnote">The previous system of interrogation was no longer possible after the dispersion of the Sanhedrin.</span> utilizing a fixed time from the previous one. It is then converted to an "hours and Ḥalakim"<span class="footnote">Each Ḥelek is 1&frasl;18<sup>th</sup> of a minute, composing 1080 individual Ḥalakim in an hour</span>, meant to be added after the mean-time sunset<span class="footnote">Rabbi Yonah Martzabach z"l in sefer Aleh Yonah (page 35) who rejects Rav Tikuchinsky z"l's viewpoint (Ben HaShmashot page 102) to consider night in this regard as 6 fixed hours after midday of the prior day in any given time of the year.</span> of the Temple Mount's location.<span class="footnote">The mean-sunset of the Temple Mount happens at 5:39 PM/17:39 of IST (Israel Standard Timezone). The arbitrary time of 6:00 PM/18:00 IST cannot be used since it's centered around a location that is too late to include our base of the Temple Mount.</span> The Israeli Molad is then used to determine the molad everywhere else in the world, happening at the same time<span class="footnote">Rav Yosef Eliyahu Henkin z”l (Edut LeYisrael page 146b letter 15) and many many more. See Amudeh Hora'ah (vol. 4 Biur Hora'ah siman 428).</span> (timezones excluded).

The practice of Ashkenazic communities (as well as some Sepharadic ones) is to announce the result of this formula during ברכת החדש. However, we omit this information in our calendar due to it not being part of the normative Sepharadic custom.<span class="footnote">חזון עובדיה חנוכה דף רנח</span> Communities looking to continue their tradition of announcing it should instead subtract 7 days from our listed time to start saying Birkat Halevana.

---

Although the earliest time to recite ברכת הלבנה is <i>three</i> complete days after the calculated molad<span class="footnote"><span style="unicode-bidi: plaintext;">משנה ברורה תכ"ו:כ'</span></span>, it is preferable (if possible, and wouldn't lead you to lose out on the Beracha<span class="footnote">Ḥazon Ovadya (Ḥannuka page 363). See, Kaf HaChaim (426 62) & Ohr LeTzion (vol. 3 chapter 4 law 6) who disagree with this leniency.</span>) to wait <i>seven</i> days instead, as per our Sepharadic tradition.<span class="footnote"><span style="unicode-bidi: plaintext;">שו"ע, סימן תכ"ו הלכה ד'</span></span>
Although the earliest time to recite ברכת הלבנה is <i>three</i> complete days after the calculated molad<span class="footnote"><span style="unicode-bidi: plaintext;">משנה ברורה תכ"ו:כ'</span></span>, it is preferable (if possible, and wouldn't lead you to lose out on the Beracha<span class="footnote">Ḥazon Ovadya (Ḥannuka page 363). See, Kaf HaChaim (426 62) & Ohr LeTzion (vol. 3 chapter 4 law 6) who disagree with this leniency.</span>) to wait <i>seven</i> days instead, as per our Sepharadic tradition.<span class="footnote">שו"ע (או"ח) תכו:ד</span>

The latest time to recite Birkat HaLevana is when the moon is full (עד שתתמלא פגימתה)<span class="footnote"><span style="unicode-bidi: plaintext;">סנהדרין בבלי מא:</span></span>. Although we are stringent and determine that from the midpoint between the current month's molad to the next month's molad<span class="footnote">שו"ע או"ח סימן תכ"ו:ג' בהגאות רמ"א<br>Since there is a questions of ברכה לבטלה, Sepharadic authorities have also shown support for this opinion (<span style="unicode-bidi: plaintext;">ראה רב פעלים ב' סימן לח, כף החיים תכו:נ & נג, אור לציון ג' פרק ד' הלכה ו'</span>)</span>, one could theoretically do it until Dawn of the 15th day<span class="footnote">Ḥazon Ovadya (Ḥannuka page 349). It is important to note that here we would certainly go based on each locations respective time since this measure is not fixated on the molad rather on the date itself.</span>

Expand Down
2 changes: 1 addition & 1 deletion _includes/printcal/netz/times.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h6>Dawn - <span style="unicode-bidi: isolate;">עלות<span class="footnote">Genesis 32:25. Variant of וכמו השחר עלה is used in Genesis 19:15</span>/<span style="unicode-bidi: isolate;">עמוד</span><span class="footnote">משנה ברכות א:א</span> השחר</span></h6>

Dawn begins the halachic day, signified by the visibility of the sun's rays in the illuminated eastern sky.<span class="footnote">רא"ש, ברכות ד:א; רמב"ם פירוש המשניות ד:א; ש"ע א"ח פט:א</span> Practically, the new day's obligations start from this time (such as not eating before prayer<span class="footnote">ש"ע או"ח פט:ה</span>), even though active-commands should be delayed until sunrise when one is not in an pressing circumstance (although one who erroniously did it before sunrise is exempt post-facto). This also means that the night's commandments are no longer performable, such as Tiqqun Ḥaṣoth, Qeriath Shema (when not obmitted due to negligence) and the evening prayer.
Dawn begins the halachic day, signified by the visibility of the sun's rays in the illuminated eastern sky.<span class="footnote">רא"ש, ברכות ד:א; רמב"ם פירוש המשניות ד:א; ש"ע א"ח פט:א</span> It's the moment that transitions from the night's commandments (examples: תיקון רחל,<span class="footnote">Not included in this rule is תיקון לאה, which could be said even after Dawn since it is only מזמורי תהילים. On the otherhand, the full seder of תיקון רחל should only be said prior to Dawn. (הליכות עולם א' פרשת וישלח הלכה ו; שו"ת איש מצליח חלק א סימן ד)<br>The permissibility to say תיקון רחל in the time surrounding Dawn is subject to great dispute. Concluding within the half hour prior to Dawn is permitted considering our ability to determine whether the Dawn has risen to the precise minute (negating the concern of רב פעלים חלק ב או"ח סעיף ב. This letter-of-the-law ruling was represented in בא"ח א וישלח הלכה ח). On the other hand, saying it after dawn is forbidden from the words of the Zohar (as repeated in משפת כתוב ס"א, quoted in י"י (מהדורא תשפ"א) א:מח (אמוד פא)), meaning one should not say it even during the time until Misheyakir (against שו"ת יצחק ירנן ח"א סי' כ"ז & responsa attributed to שו"ת איש מצליח by RYY).</span> קריאת שמע של ערבית & תפילת ערבית) to the days commandments (like not eating before prayer<span class="footnote">ש"ע או"ח פט:ה</span>), even if not a full-proof perfect one. This is because there are cases where the night's commandments (קריאת שמע בלי ברכת השכיבנו) could still be done into the day, and practically, one should still not perform positive commandments (such as prayer) until sunrise (unless there is a pressing circumstance. Also, one who erroneously did any commndment before sunrise is exempt post-facto).

---

Expand Down
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
</div>
</header>
<main class="maxWidthContainer mt-2">
<div class="text-center pb-2">In memory of <a href="/shaul-niyazov">Ḥaim Shaul Niyazov</a></div>{{ content }}
{{ content }}
</main>
</div>
<!-- Modal -->
Expand Down
2 changes: 1 addition & 1 deletion assets/css/footnotes.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}
}

span.footnote {
.footnote {
float: footnote;
footnote-policy: line;
}
Expand Down
4 changes: 2 additions & 2 deletions assets/js/location.js
Original file line number Diff line number Diff line change
Expand Up @@ -538,8 +538,8 @@ window.addEventListener('offline', () => networkStatus.offline());
document.querySelectorAll('button > i.bi-pin-map')
.forEach((/** @type {HTMLElement} */ i) => i.parentElement.addEventListener('click', () => getLocation()));

document.getElementById('searchIcon').addEventListener('click', (e) => updateList(e));
document.getElementById('Main').addEventListener('keyup', (ev) => updateList(ev));
document.getElementById('searchIcon').addEventListener('click', updateList);
document.getElementById('Main').addEventListener('keyup', updateList);

/** @param {string} tz */
function appendOptionToTZSel(tz) {
Expand Down
8 changes: 8 additions & 0 deletions assets/js/shul-wall/scheduleOnline.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ const localization = {
<span class="langTV lang-hb">Morning Shiur</span>
<span class="langTV lang-ru">Утренний Шиур</span>
</b>`,
"mainShaharitR": `<b>
<span class="langTV lang-hb">Main Shaḥarit</span>
<span class="langTV lang-ru">Основной Шахарит</span>
</b>`,
"youthShaharitR": `<b>
<span class="langTV lang-hb">Youth Shaḥarit</span>
<span class="langTV lang-ru">Шахарит для молодежи</span>
</b>`,
}

/** @param {string} url */
Expand Down
2 changes: 1 addition & 1 deletion assets/js/zmanimListUpdater.js
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@ class zmanimListUpdater {
let shemaKolenu = this.geoLocation.getLatitude() < 0;
if (settings.calendarToggle.tekufaCalc() == 'adabaravah') {
const talUmatarRAda = this.zmanFuncs.tekufaCalc.calculateTekufotRAda()[0].toPlainDate().add({ days: 60 })
shemaKolenu = shemaKolenu || KosherZmanim.Temporal.PlainDate.compare(talUmatarRAda, this.jCal.getDate()) !== -1
shemaKolenu = shemaKolenu || KosherZmanim.Temporal.PlainDate.compare(talUmatarRAda, this.jCal.getDate()) == -1
}

/** @type {HTMLUListElement} */
Expand Down
16 changes: 15 additions & 1 deletion pages/print/netz.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,11 @@ <h1>This site requires JavaScript to function</h1>
.explanationPreface p,
.explanationPreface ol,
.explanationPreface ul,
.explanationPreface .divFakeParagraph,
.pagedjs_pages p,
.pagedjs_pages ol,
.pagedjs_pages ul {
.pagedjs_pages ul,
.pagedjs_pages .divFakeParagraph {
margin-bottom: .5rem;
text-align: justify;
text-justify: inter-word;
Expand Down Expand Up @@ -334,6 +336,18 @@ <h1>This site requires JavaScript to function</h1>
/*.pagedjs_pagebox > .pagedjs_area > .pagedjs_page_content {
column-width: calc(100% - var(--pagedjs-footnotes-height)) !important;
}*/

.divFakeParagraph {
display: block;
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 0px;
margin-inline-end: 0px;
unicode-bidi: isolate;

margin-top: 0;
margin-bottom: 1rem;
}
</style>

<div id="cover">
Expand Down

0 comments on commit 93f1d21

Please sign in to comment.