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

Overdue Chores Fix #51

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Overdue Chores Fix #51

wants to merge 4 commits into from

Conversation

Wallexus
Copy link

As requested in #33, this is my attempt to fix #33. It's been quite some time, but I think essentially every chores were bypassing a check in calculate_day1, because today is calculated past midnight. I've left the check in, because I had trouble understanding the complete flow and added an additional check for day1 == start_date == last_completed, which will just increment day1.

I would appreciate, if this can be double-checked, but I've used this implementation for ~10 months now and never encountered this issue again.

@Wallexus
Copy link
Author

Oh, almost forgot: this also changes chore_helper.offset_date service call's date variable to optional, as stated in the README.

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.

Chores come overdue the day after completing them
2 participants