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

fix sorting of date-time fields in charge log view #158

Merged
merged 1 commit into from
Aug 5, 2022

Conversation

benderl
Copy link
Contributor

@benderl benderl commented Aug 5, 2022

  • date time data from backend is in format "08/01/2022, 07:51:06" and converted on the fly to 01.08.2022, 07:51:06
  • this results in incorrect sorting of date-time fields if there is a charge running from the month before
  • this PR fixes this by converting the time string into a unix timestamp for sorting
  • this should be done in backend later

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.

1 participant