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 13.2.1 (22D68)
Pendulum version: 3.0.0
Issue
Hi,
It seems like pendulum.DateTime additions of timedelta don't give the same result as in the case of pendulum.Duration additions when crossing a DST timezone boundary.
I'm assuming this is because months in Duration is counted on the calendar (1am one month later is still 1am), while days in timedelta considers days to always be 24 hours (1am + 30×24h may not result in 1am again due to DST transitions).
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: macOS 13.2.1 (22D68)
Pendulum version: 3.0.0
Issue
Hi,
It seems like
pendulum.DateTime
additions oftimedelta
don't give the same result as in the case ofpendulum.Duration
additions when crossing a DST timezone boundary.Examples:
throws the following:
the same assertion passes if adding a Duration instead of timedelta:
The issue is also reproducible when adding weeks:
The text was updated successfully, but these errors were encountered: