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

hauptmech opened this issue Dec 28, 2012 · 1 comment


Copy link

commented Dec 28, 2012

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

@ghost ghost assigned changhiskhan Dec 28, 2012

changhiskhan pushed a commit that referenced this issue Dec 28, 2012

This comment has been minimized.

Copy link

commented Dec 28, 2012

changed in tslib.pyx:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.