Repository navigation
Conversation
Dates read dd/mm for a UK viewer and mm/dd for a US one; hours follow the viewer's clock (15:00 or 3:00 PM). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KaR4xu8gVykQBkH8yG8m6H
Dates and hours use the viewer's own format (14/09 or 09/14, 15:00 or 3:00 PM), and the bars and labels sit on their own clock unless the app's timezone setting is UTC, so a label never shows a UTC time in a local format. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KaR4xu8gVykQBkH8yG8m6H
A13xB0
force-pushed
the
feat/pph-viewer-locale
branch
from
October 15, 2026 09:21
118e5af to
caac33c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The Packets / Hour labels follow the person viewing:
Screenshots
The issue's 124-day data from Kpa-clawbot#2193, on the e2e fixture.
UK (en-GB, Europe/London):
US (en-US, America/New_York):
The bars differ slightly between the two because US days split at New York midnight.
Change
public/analytics.js,packetsPerHourCard()only (+12/−5):Intl.DateTimeFormatwith the browser's locale;Tests
tests/unit/test-issue-2193-packets-per-hour.js, red then green: UK dates read dd/mm, US dates read mm/dd, and 12:00 vs 12:00 PM.sh test-all.shpasses. Checked by hand in Asia/Kolkata, America/New_York and Europe/London.🤖 Generated with Claude Code
https://claude.ai/code/session_01KaR4xu8gVykQBkH8yG8m6H