teslamate
teslamate copied to clipboard
Drive stats page showing value in miles when Km selected
Describe the bug
Drive stats page showing value in miles when km selected.
If I got to the drive stats page it says that I've driven 13 km, but it is 13 miles. I expected to see 21 km there.
The sum of all my trips is 21.9 km, that is 13.61 miles.
Expected behavior Show the correct value in KM in the stats page.
How to reproduce it (as minimally and precisely as possible): Set the UI to show values in KM and go to the drive stats page.
Environment
- TeslaMate version: 1.22.0
- Type of installation: Docker
- OS TeslaMate is installed on: Raspbian 10
- User OS & Browser: Mac OS - Chrome
This is not a km/mi conversion issue. It's a timeframe issue. dashboard mi = date version, the drives use timestamp. It can be fixed, but it is not a km/mi issue.