fix: anchor Day N to each round's first game instead of lazy first sighting
CI / Lint (push) Successful in 5s
CI / Test (push) Successful in 9s
CI / Build & Push (push) Successful in 19s

The banner read "Day 1 of ~60" on day 2 of the playoffs because the old
anchor recorded whatever date we first polled a playoff game as Day 1.
Now round start dates come from /v1/schedule/playoff-series, so Day N
is authoritative and resets at each round boundary. Drops the noisy
"of ~60" denominator.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-04-19 13:03:08 -04:00
parent 930247b32f
commit a88e2edef0
7 changed files with 220 additions and 94 deletions
+1 -2
View File
@@ -58,8 +58,7 @@ function applyMeta(meta) {
const dayEl = banner.querySelector('.meta-day');
if (meta.day_n != null) {
const total = meta.day_total ? ` of ~${meta.day_total}` : '';
setText(dayEl, `Day ${meta.day_n}${total}`);
setText(dayEl, `Day ${meta.day_n}`);
dayEl.classList.remove('hidden');
} else {
dayEl.classList.add('hidden');