Repository navigation
Conversation
The day and month plots derived the browser's UTC offset from noon on the last day of the previous month, and compared it with the device's current offset (clock_offset). From a DST change until the first of the next month these differ by an hour, so every hour label was shifted. On the day DST ended in Europe, the last bar was labelled 11 at 13:25 CET instead of 12, and the repeated 02 hour was off by one. Use the browser's offset now, as the price plot already does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
🔧 PR Build ArtifactsVersion: All environments built successfully. Download the zip files:
|
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.
Problem
On a DST change day (2026-10-25, 25 hours) the day plot labelled its last bar 11 at 13:25 CET instead of 12, and the repeated night hour was shifted.
DayPlot.svelteandMonthPlot.sveltecomputed the browser's UTC offset from noon on the last day of the previous month (Sept 30, CEST, +2) and subtracted the device's currentclock_offset(CET, +1). The resulting 1-hourclock_adjustshifted every label. This happens after both DST changes, until the 1st of the next month. The code is unchanged since 2.5.x, so it isn't a 2.6 regression.Fix
Use the browser's offset at the current time, as
PricePlot.sveltealready does:In MonthPlot the bug could only mislabel a day during the hour around midnight;
lmis kept there for the month length.Labels are the start of each hour, so on the autumn change the night now shows two 02 bars (00 UTC and 01 UTC), then 03.
Verification
11, after it is12with02repeated. Labels are also correct in summer and on 2026-03-29.🤖 Generated with Claude Code