-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BUG: tslib.tz_convert_single converts DST incorrectly #7782
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
Something isn't working right in the example. The tz offset should be 0400 once dst is active and 3/9 2:00 doesn't exist. The tz_ts/tz_dt aren't right. |
Yeah the creation is off, you have to localize with the zone localizer
|
Ah, modified example and result.
Updated Result
|
I understand UTC <-> local conversion results can differ on edges of DST because it has timestamps which is invalid. If test case added in #7798 |
@rockg can you have a look.... |
Yes, independent. (Background was considering test cases for #7798, though)
|
@jreback pls close this, as curretn tresults are correct. |
Apply
tz_convert_single
to the same time representation with different tz should be allTrue
?Current Result
The text was updated successfully, but these errors were encountered: