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

issue with changing frequencies when timezones are involved #1674

Closed
killinc opened this issue Jul 25, 2012 · 1 comment

Comments

@killinc
Copy link

commented Jul 25, 2012

the following code fails:

dr = date_range('2011-12-01','2012-07-20',freq = 'D', tz = 'US/Eastern')
dr.asfreq('T')

it appears that the asfreq code checks whether the timezone of the start and end date are the same. In this particular example, the daylight savings offsets are different at the beginning and end so the test for equality fails. Is this intended behaviour or a bug?

@wesm

This comment has been minimized.

Copy link
Member

commented Jul 25, 2012

Yes-- it's a bug

@wesm wesm closed this in 188ddd7 Aug 12, 2012

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