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

Fixed sorting of hourly tariffs. #14

Merged
merged 1 commit into from Oct 6, 2022

Conversation

runemoennike
Copy link
Contributor

Previously the tariffs that changed depending on the hour of the day were sorted as strings (hour 1, 10, 11, ... 19, 2, 20, 21, ..., 3 etc) instead of numerically. This PR casts the positions to integers first, meaning we get a correct chronological sorting and the tariffs are correct for each hour.

@JonasPed
Copy link
Owner

JonasPed commented Oct 6, 2022

Version 0.3.1 is ready to serve you :-)

@runemoennike
Copy link
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants