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

TypeError: can't compare offset-naive and offset-aware datetimes #1513

Open
sentry-io bot opened this issue Apr 16, 2024 · 0 comments
Open

TypeError: can't compare offset-naive and offset-aware datetimes #1513

sentry-io bot opened this issue Apr 16, 2024 · 0 comments

Comments

@sentry-io
Copy link

sentry-io bot commented Apr 16, 2024

Sentry Issue: SIR-LANCEBOT-BV

TypeError: can't compare offset-naive and offset-aware datetimes
  File "bot/exts/utilities/emoji.py", line 111, in info_command
    **Created:** {time_since(emoji.created_at.replace(tzinfo=None), precision="hours")}
  File "bot/utils/time.py", line 79, in time_since
    delta = abs(relativedelta(now, past_datetime))

Unhandled command error: can't compare offset-naive and offset-aware datetimes
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

No branches or pull requests

0 participants