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

Color relative due date based on remaining time #300

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

BioBox
Copy link
Contributor

@BioBox BioBox commented Sep 10, 2022

I'm quite happy with how this turned out and it passes all the tests, but there needs to be some unit tests for this which unfortunately I don't have time for. I've used this on my own set of todos and it works just fine.

Fixes #299

EDIT: I forgot to mention that this code only works on Python 3.10 and above.

@davesteele
Copy link
Contributor

Looks reasonable at first blush. I have limited access for a bit - I'll address it when I'm more online.

@davesteele
Copy link
Contributor

Note the test failures.

@BioBox
Copy link
Contributor Author

BioBox commented Sep 13, 2022

Yeah I know only 3.10 because of the match statement.

@davesteele
Copy link
Contributor

Changes need to be compatible with supported Python versions. I'll leave the PR open in the interim.

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.

Color Relative due date based on remaining Time
2 participants