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

It looks like hour calculation on pulldown for Time Out is skewed by one step, need to verify. #23

Open
fspc opened this issue Nov 11, 2017 · 2 comments

Comments

@fspc
Copy link
Owner

fspc commented Nov 11, 2017

Also, maybe it is time to replace 15-min steps?

@fspc
Copy link
Owner Author

fspc commented Nov 12, 2017

Yes, it is kinda misleading. Perhaps just show actual time from time-in to suggested time step. This is done in list_time() which calls list_15min().

@fspc
Copy link
Owner Author

fspc commented Nov 16, 2017

I am reopening this issue because the skewed really wasn't resolved, although a new conf was added. Now the new function list_time should be converted to use the DateTime object because it is easier to do seconds math, something currently not being done in the old code, and then seconds could be rounded off correctly so the minute info is properly displayed.

Currently seconds are being rounded off to the lesser minute, so 0-59 = 0, 1:01 = 1, 2:56 = 2; the main code should be altered (mysql statements) to round off properly, it may just be seconds, but precision would still be nice.

@fspc fspc reopened this Nov 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant