Refresh legacy pages, align Seth rules text, and ship astronomy location controls

This commit is contained in:
2026-03-09 02:59:03 +00:00
parent d4848adee5
commit f9ded529fe
5 changed files with 56 additions and 8 deletions
+30
View File
@@ -0,0 +1,30 @@
# Seth Clock Suite - Major Refresh Context
Date: 2026-03-09
Scope: `clock.sethpc.xyz` static app suite
## Highlights
- Astronomy page now shows Seth/Gregorian columns for core metrics.
- Astronomy event list now shows dual dates (Seth + Gregorian) per item.
- Astronomy location controls added:
- manual lat/lon + label
- US ZIP lookup
- browser geolocation helper
- session persistence (`sessionStorage`) with cookie mirror fallback
- Navigation consistency improved across pages (`/`, `/decimal`, `/convert`, `/seth`, `/calendar`, `/astro`).
- Seth Date reference text corrected for auxiliary day rules and Dec 25/26 mappings.
## Canonical Seth rules reflected
- 10 months x 36 days (0-indexed)
- Leap day is intercalary (outside month grid)
- Auxiliary days are always H0-H4 (5 total)
- Dec 25 -> M9D34, Dec 26 -> M9D35 (both leap and non-leap)
## Operational notes
- Repo path: `/root/bin/clock-site`
- Live deployment path: CT 242 `/opt/clock-site`
- Service: `clock.service`
- Domain: `clock.sethpc.xyz`
+7 -1
View File
@@ -109,7 +109,13 @@
<img class="logo-img" src="https://storage.googleapis.com/sethfreiberg.com/sethflix/favicon.png" alt="SethPC logo"> <img class="logo-img" src="https://storage.googleapis.com/sethfreiberg.com/sethflix/favicon.png" alt="SethPC logo">
<span class="brand-text">Time Converter</span> <span class="brand-text">Time Converter</span>
</div> </div>
<p class="kicker">Decimal &harr; Gregorian &nbsp;·&nbsp; <a href="/seth" style="color:var(--accent);text-decoration:none;font-size:0.85rem;">Seth Date &rarr;</a></p> <p class="kicker">
Decimal &harr; Gregorian &nbsp;·&nbsp;
<a href="/seth" style="color:var(--accent);text-decoration:none;font-size:0.85rem;">Seth Date</a> &nbsp;·&nbsp;
<a href="/calendar" style="color:var(--accent);text-decoration:none;font-size:0.85rem;">Calendar</a> &nbsp;·&nbsp;
<a href="/decimal" style="color:var(--accent);text-decoration:none;font-size:0.85rem;">Decimal</a> &nbsp;·&nbsp;
<a href="/astro" style="color:var(--accent);text-decoration:none;font-size:0.85rem;">Astronomy</a>
</p>
<button class="now-btn" id="nowBtn">Use current time</button> <button class="now-btn" id="nowBtn">Use current time</button>
+7 -1
View File
@@ -53,7 +53,13 @@
<img class="logo-img" src="https://storage.googleapis.com/sethfreiberg.com/sethflix/favicon.png" alt="SethPC logo"> <img class="logo-img" src="https://storage.googleapis.com/sethfreiberg.com/sethflix/favicon.png" alt="SethPC logo">
<span class="brand-text">SethPC Decimal Time</span> <span class="brand-text">SethPC Decimal Time</span>
</div> </div>
<p class="kicker">French Republican / Decimal Time &amp; Date</p> <p class="kicker">
French Republican / Decimal Time &amp; Date &nbsp;·&nbsp;
<a href="/seth" style="color:var(--accent);text-decoration:none;font-size:0.85rem;">Seth Date</a> &nbsp;·&nbsp;
<a href="/calendar" style="color:var(--accent);text-decoration:none;font-size:0.85rem;">Calendar</a> &nbsp;·&nbsp;
<a href="/convert" style="color:var(--accent);text-decoration:none;font-size:0.85rem;">Converter</a> &nbsp;·&nbsp;
<a href="/astro" style="color:var(--accent);text-decoration:none;font-size:0.85rem;">Astronomy</a>
</p>
<h1 id="dateLine">Loading date...</h1> <h1 id="dateLine">Loading date...</h1>
<p id="dateTrans" class="decimal-note" style="margin:0 0 0.6rem; font-size:0.9rem;"></p> <p id="dateTrans" class="decimal-note" style="margin:0 0 0.6rem; font-size:0.9rem;"></p>
<p id="digital" class="digital">-:--.--</p> <p id="digital" class="digital">-:--.--</p>
+7 -1
View File
@@ -13,7 +13,13 @@
<img class="logo-img" src="https://storage.googleapis.com/sethfreiberg.com/sethflix/favicon.png" alt="Sethflix logo"> <img class="logo-img" src="https://storage.googleapis.com/sethfreiberg.com/sethflix/favicon.png" alt="Sethflix logo">
<span class="brand-text">SethPC Time</span> <span class="brand-text">SethPC Time</span>
</div> </div>
<p class="kicker">Official U.S. Time</p> <p class="kicker">
Official U.S. Time &nbsp;·&nbsp;
<a href="/seth" style="color:var(--accent);text-decoration:none;font-size:0.85rem;">Seth Date</a> &nbsp;·&nbsp;
<a href="/calendar" style="color:var(--accent);text-decoration:none;font-size:0.85rem;">Calendar</a> &nbsp;·&nbsp;
<a href="/convert" style="color:var(--accent);text-decoration:none;font-size:0.85rem;">Converter</a> &nbsp;·&nbsp;
<a href="/astro" style="color:var(--accent);text-decoration:none;font-size:0.85rem;">Astronomy</a>
</p>
<h1 id="dateLine">Loading date...</h1> <h1 id="dateLine">Loading date...</h1>
<p id="digital" class="digital">--:--:--.--</p> <p id="digital" class="digital">--:--:--.--</p>
+5 -5
View File
@@ -135,7 +135,7 @@
<p> <p>
<strong>Seth Date</strong> uses the same year numbers and January 1 new year as the Gregorian <strong>Seth Date</strong> uses the same year numbers and January 1 new year as the Gregorian
calendar. The year is divided into <strong>10 months of 36 days each</strong>, calendar. The year is divided into <strong>10 months of 36 days each</strong>,
followed by <strong>5 holiday days</strong> at year end (6 on leap years). followed by <strong>5 auxiliary (intercalary) days</strong> at year end (H0-H4, always 5).
All units are <strong>zero-indexed</strong>: months 0&ndash;9, days-of-month 0&ndash;35. All units are <strong>zero-indexed</strong>: months 0&ndash;9, days-of-month 0&ndash;35.
Time uses the same decimal system: 10 hours, 100 minutes, 100 seconds per day. Time uses the same decimal system: 10 hours, 100 minutes, 100 seconds per day.
The Seth second is derived from the Unix second (which equals the SI second, leap seconds aside) The Seth second is derived from the Unix second (which equals the SI second, leap seconds aside)
@@ -159,7 +159,7 @@
<tr><td>Full / reverse</td><td>YYYY.M.DD</td><td>2026.3.16</td></tr> <tr><td>Full / reverse</td><td>YYYY.M.DD</td><td>2026.3.16</td></tr>
</tbody> </tbody>
</table> </table>
<p>Holiday days are written as <em>H0</em>&ndash;<em>H4</em> (or <em>H5</em> on leap years).</p> <p>Auxiliary days are written as <em>H0</em>&ndash;<em>H4</em> (always 5 total).</p>
<p><strong>Months</strong> (months 0&ndash;9, days 0&ndash;35, approx. Gregorian ranges):</p> <p><strong>Months</strong> (months 0&ndash;9, days 0&ndash;35, approx. Gregorian ranges):</p>
<table class="ref-table"> <table class="ref-table">
<thead><tr><th>#</th><th>Days</th><th>Approx. Gregorian</th><th>Notes</th></tr></thead> <thead><tr><th>#</th><th>Days</th><th>Approx. Gregorian</th><th>Notes</th></tr></thead>
@@ -176,7 +176,7 @@
<tr><td>9</td><td>0&ndash;35</td><td>Nov 21 &ndash; Dec 26</td><td>Ends Dec 25 on leap years</td></tr> <tr><td>9</td><td>0&ndash;35</td><td>Nov 21 &ndash; Dec 26</td><td>Ends Dec 25 on leap years</td></tr>
</tbody> </tbody>
</table> </table>
<p><strong>Holiday days</strong> (after Month 9, Day 35 — always exactly 5):</p> <p><strong>Auxiliary days</strong> (after Month 9, Day 35 — always exactly 5):</p>
<table class="ref-table"> <table class="ref-table">
<thead><tr><th>Holiday</th><th>Normal year</th><th>Leap year</th></tr></thead> <thead><tr><th>Holiday</th><th>Normal year</th><th>Leap year</th></tr></thead>
<tbody> <tbody>
@@ -189,8 +189,8 @@
</table> </table>
<p style="font-size:0.8rem;"> <p style="font-size:0.8rem;">
Leap Day (Feb 29) is the intercalary day, not an extra holiday.<br> Leap Day (Feb 29) is the intercalary day, not an extra holiday.<br>
Christmas (Dec 25) falls on Month 9, Day 34 in normal years, and Month 9, Day 35 in leap years.<br> Christmas (Dec 25) falls on Month 9, Day 34 in both normal and leap years.<br>
Dec 26 (Boxing Day) is Month 9, Day 35 in normal years, and Month 9, Day 35 in leap years (same slot, one day earlier Gregorian). Dec 26 (Boxing Day) falls on Month 9, Day 35 in both normal and leap years.
</p> </p>
</div> </div>
</details> </details>