-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: Timestamp(Timestamp(Ambiguous time)) modifies .value with dateutil tz #24329
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
Comments
Similar behavior occurs with Nonexistent times that occur right at the cusp of the transition point:
|
My hypothesis is that there's a lower level assumption in |
@mroeschke Thanks for linking this. The problem is that if |
Some notes. When we make a Timestamp out of an |
More notes. When we call a Timestamp constructor on an
This shifts time an hour back, because |
Pretty obscure bug, but this seems fishy:
pytz timezones behave consistently though
The fact that the repr between dateutil timezones and pytz timezones don't match can be possible be seen in a change in dateutil somewhere around 2.6? But the main issue that is
.value
changes.pandas/pandas/tests/indexes/datetimes/test_timezones.py
Lines 564 to 571 in 216986d
The text was updated successfully, but these errors were encountered: