Skip to content

fix: daily stats timezone and multi-day sessions - #90

Merged
vakovalskii merged 1 commit into
mainfrom
fix/daily-stats-timezone
Apr 8, 2026
Merged

fix: daily stats timezone and multi-day sessions#90
vakovalskii merged 1 commit into
mainfrom
fix/daily-stats-timezone

Conversation

@vakovalskii

Copy link
Copy Markdown
Owner

Fixes inflated today stats.

- Sessions spanning multiple days now split messages/hours/cost across each day
- Use local timezone for date boundaries (was UTC, causing off-by-one)
- Cap hours at 16h/day per session (realistic limit)
- Today stats now show actual today portion, not entire session

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vakovalskii
vakovalskii merged commit c7c6464 into main Apr 8, 2026
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