Repository navigation
Fix Tracearr local timezone and seven-day playback aggregation - #11
Merged
Merged
Conversation
This was referenced Nov 28, 2026
Closed
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.
Fixes #1
Fixes #2
Changes
Resolve device IANA timezone using existing flutter_timezone dependency for activity and today stats; preserve explicit overrides and server default on detection failure. Aggregate weekly chart buckets into seven local calendar days ending on response end date, including zero days. Add regression tests and targeted validation workflow.
Validation
Static analysis and full Tracearr test suite passed: https://github.com/koinupapi/Atrium-Enhanced/actions/runs/46097409336. Owner installed signed build 30 via in-app updater, reported no crashes, and verified Nov 21–27 daily counts against WebUI (19, 0, 12, 15, 34, 8, 3). Owner confirmed late-night Thursday movie (Friday UTC) and local midnight boundary attribution. DST and timezone detection fallback not device-tested. Date label and raw sessions enhancements remain separate (#9, #10).
AI disclosure
Owner identified bugs, directed requirements and performed real-world device testing. ChatGPT investigated, implemented code, wrote automated tests and authored this PR. Proposed implementation subject to review; no independent human technical review has occurred.