Skip to content

Show NU7 arrival in the viewer's local time - #225

Merged
Kenbak merged 2 commits into
mainfrom
new/nu7-local-arrival-time
Nov 2, 2026
Merged

Kenbak merged 2 commits into
mainfrom
new/nu7-local-arrival-time

Conversation

@Kenbak

@Kenbak Kenbak commented Nov 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds a muted line under the UTC estimate on the NU7 countdown card showing the arrival in the viewer's timezone, with the weekday (e.g. Thu, Nov 5 · 9:20 PM EST). The weekday makes it clear when the local date differs from the UTC date.
  • UTC stays the primary line, since upgrades are coordinated in UTC and screenshots get shared across timezones.
  • The local line renders only after hydration (useSyncExternalStore, server snapshot null), so server HTML and SEO keep the UTC line and there's no hydration mismatch. It's hidden for viewers already in UTC.
  • Format follows the viewer's locale (some show GMT-5 instead of EST, or 24-hour time).
  • The downloadable share PNG is server-rendered and still shows UTC only.

Testing

  • Typecheck: no errors in the changed file.
  • Checked visually on a local dev server against live mainnet data at /block/3543405.

🤖 Generated with Claude Code

Add a muted line under the UTC estimate on the NU7 countdown card with the
weekday, date and time in the viewer's timezone. It renders only after
hydration so server HTML keeps the UTC line, and it is hidden for UTC viewers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
zecblock Ready Ready Preview Nov 2, 2026 8:59pm UTC
2 Skipped Deployments
Project Deployment Actions Updated
zecblock-crosslink Ignored Ignored Preview Nov 2, 2026 8:59pm UTC
zecblock-testnet Ignored Ignored Preview Nov 2, 2026 8:59pm UTC

Request Review

@Kenbak
Kenbak merged commit d984a4a into main Nov 2, 2026
30 checks passed
@Kenbak
Kenbak deleted the new/nu7-local-arrival-time branch November 2, 2026 21:37

This branch was successfully deployed

1 active deployment
Preview – zecblock — d33bc1d7 Deployed Nov 2, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant