Files
archived-matedroid/app
Davide FerrariandClaude Opus 4.5 e3dfe15b81 fix(mileage): calculate avg/year using actual elapsed time since first drive (#16)
Previously, the Avg/Year calculation divided total distance by the number
of distinct calendar years (e.g., 2023, 2024, 2025, 2026 = 4 years), which
gave incorrect results for users who started driving mid-year.

Now calculates: (total distance / days since first drive) × 365

Also adds an info icon (i) next to Avg/Year that shows a dialog explaining
the calculation method and the first drive date.

Fixes #10

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 19:23:12 +01:00
..