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 longest break duration #95

Merged
merged 1 commit into from
Mar 26, 2017
Merged

Conversation

StefRe
Copy link
Contributor

@StefRe StefRe commented Mar 26, 2017

If you do an activity say on Monday and on Wednesday, then there is a break
of one day where you didn't do that activity (longest break = 1 day). Hence
if you do an activity on two consecutive days, then there is no break at all
(longest break = 0 days). Currently Tickmate shows 2 and 1 days, respectively,
in the above cases. This is going to be fixed by this commit. See also first bullet
of #88.

If you do an activity say on Monday and on Wednesday, then there is a break
of one day where you didn't do that activity (longest break = 1 day). Hence
if you do an activity on two consecutive days, then there is no break at all
(longest break = 0 days). Currently Tickmate shows 2 and 1 days, respectively,
in the above cases. This is going to be fixed by this commit.
@lordi lordi merged commit 25e3189 into lordi:master Mar 26, 2017
@StefRe StefRe deleted the bugfix-longest_break branch March 26, 2017 19:09
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.

2 participants