Skip to content

Conversation

@sinhrks
Copy link
Member

@sinhrks sinhrks commented Jun 6, 2014

Found fix #7318 was incorrect. It works for lower frequencies than dates, but not for higher freq than hours.
I couldn't detect as test cases are also incorrect...

This should work for all the freqs with timezones.

NOTE: I couldn't use normal tslib.tz_convert which returns incorrect results maybe caused by DST. Applying tslib.tz_convert_single can work though.

@jreback jreback added this to the 0.14.1 milestone Jun 6, 2014
jreback added a commit that referenced this pull request Jun 6, 2014
BUG: infer_freq results in None for hourly freq with timezone
@jreback jreback merged commit 8a07b6f into pandas-dev:master Jun 6, 2014
@jreback
Copy link
Contributor

jreback commented Jun 6, 2014

thanks

@sinhrks sinhrks deleted the infer_test branch June 6, 2014 14:05
@jreback
Copy link
Contributor

jreback commented Jun 6, 2014

hmm, this broke in 3.4: https://travis-ci.org/pydata/pandas/jobs/26939770

@cpcloud
Copy link
Member

cpcloud commented Jun 6, 2014

this is broken in 2.7 as well, just bisected it

@jreback
Copy link
Contributor

jreback commented Jun 6, 2014

@sinhrks going to revert this

@jreback
Copy link
Contributor

jreback commented Jun 6, 2014

@cpcloud also putting 3.4 on the main build (and 3.2 on experimental, just to have it run)

@cpcloud
Copy link
Member

cpcloud commented Jun 6, 2014

cool, just reverted d91d145

@sinhrks sinhrks restored the infer_test branch July 1, 2014 15:09
@sinhrks sinhrks deleted the infer_test branch July 5, 2014 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Frequency DateOffsets Timezones Timezone data dtype

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants