Refresh legacy pages, align Seth rules text, and ship astronomy location controls
This commit is contained in:
@@ -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
@@ -109,7 +109,13 @@
|
||||
<img class="logo-img" src="https://storage.googleapis.com/sethfreiberg.com/sethflix/favicon.png" alt="SethPC logo">
|
||||
<span class="brand-text">Time Converter</span>
|
||||
</div>
|
||||
<p class="kicker">Decimal ↔ Gregorian · <a href="/seth" style="color:var(--accent);text-decoration:none;font-size:0.85rem;">Seth Date →</a></p>
|
||||
<p class="kicker">
|
||||
Decimal ↔ Gregorian ·
|
||||
<a href="/seth" style="color:var(--accent);text-decoration:none;font-size:0.85rem;">Seth Date</a> ·
|
||||
<a href="/calendar" style="color:var(--accent);text-decoration:none;font-size:0.85rem;">Calendar</a> ·
|
||||
<a href="/decimal" style="color:var(--accent);text-decoration:none;font-size:0.85rem;">Decimal</a> ·
|
||||
<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>
|
||||
|
||||
|
||||
+7
-1
@@ -53,7 +53,13 @@
|
||||
<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>
|
||||
</div>
|
||||
<p class="kicker">French Republican / Decimal Time & Date</p>
|
||||
<p class="kicker">
|
||||
French Republican / Decimal Time & Date ·
|
||||
<a href="/seth" style="color:var(--accent);text-decoration:none;font-size:0.85rem;">Seth Date</a> ·
|
||||
<a href="/calendar" style="color:var(--accent);text-decoration:none;font-size:0.85rem;">Calendar</a> ·
|
||||
<a href="/convert" style="color:var(--accent);text-decoration:none;font-size:0.85rem;">Converter</a> ·
|
||||
<a href="/astro" style="color:var(--accent);text-decoration:none;font-size:0.85rem;">Astronomy</a>
|
||||
</p>
|
||||
<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="digital" class="digital">-:--.--</p>
|
||||
|
||||
+7
-1
@@ -13,7 +13,13 @@
|
||||
<img class="logo-img" src="https://storage.googleapis.com/sethfreiberg.com/sethflix/favicon.png" alt="Sethflix logo">
|
||||
<span class="brand-text">SethPC Time</span>
|
||||
</div>
|
||||
<p class="kicker">Official U.S. Time</p>
|
||||
<p class="kicker">
|
||||
Official U.S. Time ·
|
||||
<a href="/seth" style="color:var(--accent);text-decoration:none;font-size:0.85rem;">Seth Date</a> ·
|
||||
<a href="/calendar" style="color:var(--accent);text-decoration:none;font-size:0.85rem;">Calendar</a> ·
|
||||
<a href="/convert" style="color:var(--accent);text-decoration:none;font-size:0.85rem;">Converter</a> ·
|
||||
<a href="/astro" style="color:var(--accent);text-decoration:none;font-size:0.85rem;">Astronomy</a>
|
||||
</p>
|
||||
<h1 id="dateLine">Loading date...</h1>
|
||||
<p id="digital" class="digital">--:--:--.--</p>
|
||||
|
||||
|
||||
@@ -135,7 +135,7 @@
|
||||
<p>
|
||||
<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>,
|
||||
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–9, days-of-month 0–35.
|
||||
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)
|
||||
@@ -159,7 +159,7 @@
|
||||
<tr><td>Full / reverse</td><td>YYYY.M.DD</td><td>2026.3.16</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>Holiday days are written as <em>H0</em>–<em>H4</em> (or <em>H5</em> on leap years).</p>
|
||||
<p>Auxiliary days are written as <em>H0</em>–<em>H4</em> (always 5 total).</p>
|
||||
<p><strong>Months</strong> (months 0–9, days 0–35, approx. Gregorian ranges):</p>
|
||||
<table class="ref-table">
|
||||
<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–35</td><td>Nov 21 – Dec 26</td><td>Ends Dec 25 on leap years</td></tr>
|
||||
</tbody>
|
||||
</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">
|
||||
<thead><tr><th>Holiday</th><th>Normal year</th><th>Leap year</th></tr></thead>
|
||||
<tbody>
|
||||
@@ -189,8 +189,8 @@
|
||||
</table>
|
||||
<p style="font-size:0.8rem;">
|
||||
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>
|
||||
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).
|
||||
Christmas (Dec 25) falls on Month 9, Day 34 in both normal and leap years.<br>
|
||||
Dec 26 (Boxing Day) falls on Month 9, Day 35 in both normal and leap years.
|
||||
</p>
|
||||
</div>
|
||||
</details>
|
||||
|
||||
Reference in New Issue
Block a user