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

to correct elapsed display #214

Merged
merged 1 commit into from
Mar 12, 2019

Conversation

realdesilets47
Copy link
Contributor

to correct elapsed display after 29 seconds and after 29 minutes.
prevent to pass from 29 minutes to 1:30 in one minutes.

to correct elapsed display after 29 seconds and after 29 minutes.
prevent to pass from 29 minutes to 1:30 in one minutes.
@glynhudson
Copy link
Contributor

Is there a reason this PR was closed? I was about to test it. Is this still an issue?

@realdesilets47
Copy link
Contributor Author

realdesilets47 commented Feb 22, 2019 via email

@KMacros
Copy link

KMacros commented Mar 8, 2019

I am new to github and using a macbook so I haven't been able to implement a solution for issue #213 which is the same problem. The rounding causes the time to jump around the half fraction point and using trunc or as realdesilets47 is using the floor which for positive values works the same as truncate. I'd be curious to see if the compiled code for truncate compared to floor would show any reason to choose one over the other.

jeremypoulter added a commit to jeremypoulter/openevse_wifi_gui that referenced this pull request Mar 9, 2019
@glynhudson glynhudson merged commit a8354fe into OpenEVSE:master Mar 12, 2019
@glynhudson
Copy link
Contributor

Thanks 👍

@KMacros
Copy link

KMacros commented Mar 19, 2019

I downloaded 2.8.0 binary from release link https://github.com/OpenEVSE/ESP8266_WiFi_v2.x/releases and uploaded using the web page. The versions show 4.8.0 for openevse and 2.8.0 for OpenEVSE WiFi. The time display while charging still exhibits the rounding behavior. I believe I have the correct binary loaded since I see the new version 2.8.0 from the above release link. Adding a screenshot below.
2019-03-19

@jeremypoulter
Copy link
Collaborator

I think the addition of #208 in the same release would have removed the fix :(

@glynhudson Can you do a new release when #222 is merged? This should add back the fix.

@glynhudson
Copy link
Contributor

Ok thanks, I've updated 2.8.0 release (it's still in pre-prerelease).

@KMacros please could you try to download V2.8.0 from the releases page and updated and test again?

Thanks.

@KMacros
Copy link

KMacros commented Mar 19, 2019 via email

@KMacros
Copy link

KMacros commented Mar 19, 2019 via email

@realdesilets47 realdesilets47 deleted the fix-elapsed-display branch March 21, 2019 15:34
Stef-Sijben pushed a commit to Stef-Sijben/ESP8266_WiFi_v2.x that referenced this pull request Apr 12, 2019
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.

4 participants