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
Closed

issue with changing frequencies when timezones are involved #1674

killinc opened this issue Jul 25, 2012 · 1 comment
Labels
Milestone

Comments

@killinc
Copy link

killinc 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
Copy link
Member

wesm commented Jul 25, 2012

Yes-- it's a bug

@wesm wesm closed this as completed in 188ddd7 Aug 12, 2012
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

2 participants