You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issues of this repo and believe that this is not a duplicate.
OS version and name: Ubuntu 22.04.3 LTS (running in WSL2)
Pendulum version: 3.0.0
Issue
When a naive pendulum.DateTime calls diff with a stdlib datetime object the input is converted to a pendulum instance, but it defaults to having a timezone of UTC, causing a TypeError
TypeError: can't compare offset-naive and offset-aware datetimes
I am on the latest Pendulum version.
I have searched the issues of this repo and believe that this is not a duplicate.
OS version and name: Ubuntu 22.04.3 LTS (running in WSL2)
Pendulum version: 3.0.0
Issue
When a naive pendulum.DateTime calls
diff
with a stdlib datetime object the input is converted to a pendulum instance, but it defaults to having a timezone of UTC, causing a TypeErrorTypeError: can't compare offset-naive and offset-aware datetimes
Repro
The text was updated successfully, but these errors were encountered: