Skip to content

Remove from start/end dates if tz is not None (#7901, #7835) #7909

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

Merged
merged 1 commit into from
Aug 5, 2014

Conversation

rockg
Copy link
Contributor

@rockg rockg commented Aug 3, 2014

Below fixes date_range when input dates are localized. In that case inferred_freq is not None and so the dates do not have their tzinfo removed. This causes a fixed offset to be applied when the range is created. If tzinfo is removed, they will be correctly localized.

Fixes #7901
Fixes #7835.

@jreback
Copy link
Contributor

jreback commented Aug 3, 2014

pls add a release note (with both issues)

@rockg
Copy link
Contributor Author

rockg commented Aug 3, 2014

@jreback Any reason for the weird spacing in v0.15.0? https://github.com/pydata/pandas/blob/master/doc/source/v0.15.0.txt

@jreback
Copy link
Contributor

jreback commented Aug 3, 2014

yep

it makes it so that he can edit a line and not have a merge conflict if someone else does a different line

used to be that a merge would cause everyone pr to have to rebase which was a bit annoying

just pick a random line and put in the note

@jreback jreback added this to the 0.15.0 milestone Aug 5, 2014
@jreback
Copy link
Contributor

jreback commented Aug 5, 2014

this looks fine

@rockg ready to go?

@sinhrks comments?

@rockg
Copy link
Contributor Author

rockg commented Aug 5, 2014

It's ready.

jreback added a commit that referenced this pull request Aug 5, 2014
Remove from start/end dates if tz is not None (#7901, #7835)
@jreback jreback merged commit 7568018 into pandas-dev:master Aug 5, 2014
@jreback
Copy link
Contributor

jreback commented Aug 5, 2014

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Timezones Timezone data dtype
Projects
None yet
2 participants