akhilrex / hammond

Self hosted vehicle and expense management system. Like Clarkson, but better
GNU Affero General Public License v3.0
542 stars 50 forks source link

Options for different fuel-consumption units #40

Open gthbusrr opened 2 years ago

gthbusrr commented 2 years ago

Currently, fuel-consumption are only available at km/L (I don't see a way to change that at least). It would be great if another units like L/100km, mpg, etc are available.

Thanks ;)

akhilrex commented 2 years ago

The fuel consumption is always going to be your chosen distance unit and chosen fuel quantity unit. If you had setup your default distance and volume units as miles and gallons you would have seen this in mpgs.

I will consider building conversions to other units in future.

Atwistoflemming commented 2 years ago

In the UK petrol and diesel is sold in Litres, but vehicle fuel consumption is often measured (or compared) using miles per gallon (mpg). Clarkson seemed to handle dual fuel quantity units, so would appreciate if this feature could be added, thanks.

PS Recognise many may prefer fuel consumption in Litres per 100km (and this could be set as a default), but I prefer to have the option of imperial.

StefanescuCristian commented 2 years ago

I agree with @Atwistoflemming. I think that in all Europe L/100km is somewhat standard.

djjudas21 commented 2 years ago

+1 for dual unit support. As @Atwistoflemming says, fuel in the UK is sold in litres but fuel consumption is is stated in miles per gallon.

geekblog-dev commented 1 year ago

+1 For Unit selection It would be so much more handy if can see Stats for my Cars in l/100km.

SEEN88 commented 1 year ago

Another +1 for different fuel consumption metrics, here in New Zealand we also use L/100km, this is the only thing I miss from Clarkson so far.

AlfHou commented 1 year ago

I'll take a look at adding this.

chust4 commented 9 months ago

+1 for L/100km