hargata / lubelog

LubeLogger is a web-based vehicle maintenance and fuel mileage tracker
https://lubelogger.com
MIT License
1.04k stars 51 forks source link

Feature request - support for mixed distance unit (miles / km) pr vehicle #638

Closed tveyben closed 1 hour ago

tveyben commented 2 hours ago

I have Motorcyles using miles (imported from the US as well as Ireland) and also motorcycles using km (destined for the 'native' European market). So despite living in Europa (using the SI km unit) I need to support both types of vehicles.

The current solution have a global setting for this value, but I (and hopefully others) need to support a mix.

Proposal for a solution

hargata commented 2 hours ago

See #364 The odometer multiplier set at the vehicle level will allow you to auto-convert miles from the odometer reading to kilometers. This way, all vehicles are standardized to kilometers regardless of which unit their odometer reads in.

tveyben commented 1 hour ago

Ahhh - clever you, I missed that feature when exploring the setup. Great