Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Use datetime_start if set, else datetime.now() #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AlexRiina
Copy link

Previous version was falling back to datetime.now() only when it was set, but with a mix missing and filled datetime_starts, this can raise an error comparing NoneType and datetime

Previous version was falling back to datetime.now() only when it was set, but with a mix missing and filled datetime_starts, this can raise an error comparing NoneType and datetime
Shasha-Lin added a commit to Shasha-Lin/optdash that referenced this pull request Feb 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant