Skip to content
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

Indexes created from datetimes that are tz aware but tz=None (pytz.FixedOffset()) lose tz awareness #2604

Closed
hauptmech opened this issue Dec 28, 2012 · 1 comment
Labels
Milestone

Comments

@hauptmech
Copy link

The index created from datetimes with a FixedOffset tz get converted to the correct UTC time but lose their timezone awareness so that further operations with tz aware datetimes fail.

pytz.FixedOffset() timezones have tzname() return None

@changhiskhan
Copy link
Contributor

changed in tslib.pyx:

function _get_zone will return tz if tz.zone is None (previously just returned tz.zone)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants