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: macOS Sonoma Version 14.4.1
Pendulum version: 3.0.0
Issue
As title suggests pendulum.instance does not seem to be compatible with dateutil.tz. (Please let me know if this is intentional or outside the support)
Here is what i found.
Generally, pendulum works fine with tz. As seen by the example below, tzinfo gets assigned correctly & it shows the appropriate time.
But, with pendulum.instance. Using astimezone() function with tz.timezone as an input produces a bug & results in output Datetime object to not have tzinfo attribute.
Issue
As title suggests pendulum.instance does not seem to be compatible with dateutil.tz. (Please let me know if this is intentional or outside the support)
Here is what i found.
Generally,
pendulum
works fine withtz
. As seen by the example below,tzinfo
gets assigned correctly & it shows the appropriate time.But, with pendulum.instance. Using
astimezone()
function withtz.timezone
as an input produces a bug & results in outputDatetime
object to not havetzinfo
attribute.The text was updated successfully, but these errors were encountered: