-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Inconsistency in array_to_datetime "utc_convert" #19623
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
Labels
Timezones
Timezone data dtype
Comments
is there a user facing effect to this? |
|
ok, pls check outstanding issues, I think have seen this before. |
@mroeschke did the recent arraytodatetime change handle this? |
So a little better. Is the ultimate goal is for PST to parse to |
Yes, but I think #18702 is orthogonal. Closing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If tslib.array_to_datetime sees a tz-aware datetime object and
utc_convert
isn't True, it raises. But later a tz-aware datetime may be parsed from dateutil and it is ignored:There are several ways (some of which are hit in the tests) by which
parse_datetime_string
could return a tzaware datetime. Should these raise iff utc_convert is not True? Or behave like the string_to_dts parsing above and allow FixedOffset through? What about if it is aware and already in UTC?The text was updated successfully, but these errors were encountered: