-
Notifications
You must be signed in to change notification settings - Fork 1
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
v2.0.1 or later does not record finished clocks if their corresponding/following break does not complete #46
Comments
Correct. This should be also related to #23. ctimer.py:line10 on_closing() is supposed to record the current clock details while halting the program. Need to be checked. To solve this problem, we need to update the database clock details only once but not to miss premature halted clocks. |
I propose to fix the database to record any running period of "focus-time" and "breaks" by adding one columns and delete the "end_break" column. This means the former database needs a conversion to be compatible with the new database. New data format clock_count will remain the "finished focus-clock count" of the date. While retrieving clock count for the year, the method does not change. |
This will be developed in a new branch --new_db, with the database name: ctimer_2021.db and ctimer_debug_2021.db before the merging take place. |
the new branch is merged into master by commit 0f71031 |
Description
CTimer does not record finished clocks if their corresponding/following break does not complete.
Steps to Reproduce
Steps to reproduce the behavior:
stop
Expected Behavior
Total clocks
number continues before closing the timer.Actual Behavior
Total clocks
number does accumulate.The text was updated successfully, but these errors were encountered: