Skip to content

Show timezone labels on WebUI timestamps and add IANA timezone reference - #209

Open
tire-fire wants to merge 2 commits into
dbaseqp:mainfrom
tire-fire:feat/timezone-display
Open

tire-fire wants to merge 2 commits into
dbaseqp:mainfrom
tire-fire:feat/timezone-display

Conversation

@tire-fire

@tire-fire tire-fire commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • WebUI timestamp timezone labels (static/templates/pages/**):
    • Pass { timeZoneName: 'short' } to toLocaleString() / toLocaleTimeString() across WebUI views (/graphs, /services, /announcements, /injects, /pcr, /admin/engine, /admin/runners) so rendered timestamps include the viewer's short timezone name.
  • UTC and configured CompetitionTimezone subtitle on /admin/engine (www/api/admin.go, static/templates/pages/admin/engine.html, tests/integration/graphs_test.go):
    • GET /api/engine exposes competition_timezone from InjectSettings.CompetitionTimezone.
    • /admin/engine renders a subtitle under Round Progress showing the round timestamps in UTC (matching container logs) and in CompetitionTimezone when configured, valid, and distinct from UTC and the browser's zone.
  • Collapsible IANA timezone reference (docs/inject-import.md):
    • Added a <details> table next to CompetitionTimezone listing the IANA timezone names for common US competition regions and UTC.

Verification

  • go vet ./...
  • go test -race -p 1 ./tests/integration -run 'TestGraphs|TestGetEngineReturnsCompetitionTimezone'

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