Skip to content

Fix Tracearr local timezone and seven-day playback aggregation - #11

Merged
koinupapi merged 7 commits into
rmgfrom
fix/tracearr-activity
Nov 28, 2026
Merged

koinupapi merged 7 commits into
rmgfrom
fix/tracearr-activity

Conversation

@koinupapi

Copy link
Copy Markdown
Owner

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.

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.

Tracearr: Aggregate seven-day playback activity into daily bars Tracearr: Seven-day playback activity uses incorrect timezone

1 participant