Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong total cost / distance in breakdown #825

Closed
spcqike opened this issue Jan 24, 2025 · 2 comments
Closed

wrong total cost / distance in breakdown #825

spcqike opened this issue Jan 24, 2025 · 2 comments
Assignees
Labels
bug Something isn't working pending release fix in place, pending release

Comments

@spcqike
Copy link

spcqike commented Jan 24, 2025

the total cost per distance seems wrong, as its the sum of all month, not the average (or better, the calculated cost per distance for this specific year)

Image

with average cost/distance of ~0.1€/km, one shouldn't have a yearly cost/distance of 1€/km

@hargata hargata self-assigned this Jan 24, 2025
@hargata hargata added the bug Something isn't working label Jan 24, 2025
@hargata hargata mentioned this issue Jan 24, 2025
Merged
@hargata
Copy link
Owner

hargata commented Jan 24, 2025

Will be fixed next release:

It will use the (total cost per year) / (total distance per year), so for example 2023 has total cost $595.41 and total distance of 1391 miles, it will be calculated as 595.41/1391 which is equal to $0.43/mi

Image

Image

Image

@hargata hargata added the pending release fix in place, pending release label Jan 24, 2025
@hargata
Copy link
Owner

hargata commented Feb 3, 2025

Released.

@hargata hargata closed this as completed Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pending release fix in place, pending release
Projects
None yet
Development

No branches or pull requests

2 participants