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 datetime comparison #54

Merged
merged 1 commit into from
Feb 23, 2024
Merged

Fix datetime comparison #54

merged 1 commit into from
Feb 23, 2024

Conversation

elliotgoodrich
Copy link
Owner

In /watch we compare timezone-aware and non-timezone-aware datetime values, which results in a runtime exception.

Instead of adding timezones to everything it is far simpler to remove the timezone in the 2 places we use it.

In `/watch` we compare timezone-aware and non-timezone-aware `datetime`
values, which results in a runtime exception.

Instead of adding timezones to everything it is far simpler to remove
the timezone in the 2 places we use it.
@elliotgoodrich elliotgoodrich merged commit 8dfbd00 into main Feb 23, 2024
2 checks passed
@elliotgoodrich elliotgoodrich deleted the fix-datetime-comparison branch February 23, 2024 10:37
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.

1 participant