Skip to content

Timestamp does not parse the 'Z' zone designator for UTC #8771

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

Closed
broessli opened this issue Nov 10, 2014 · 5 comments · Fixed by #8832
Closed

Timestamp does not parse the 'Z' zone designator for UTC #8771

broessli opened this issue Nov 10, 2014 · 5 comments · Fixed by #8832
Labels
Datetime Datetime data dtype Regression Functionality that used to work in a prior pandas version
Milestone

Comments

@broessli
Copy link

Pandas 0.14.1 does parse UTC 'Z' designator:

In [1]: import pandas as pd;pd.__version__
Out[1]: '0.14.1'
In [2]: pd.Timestamp("2014-11-10 11:00Z")
Out[2]: Timestamp('2014-11-10 11:00:00+0000', tz='UTC')

Beginning with pandas 0.15.0, it seems to be broken:

In [1]: import pandas as pd;pd.__version__
Out[1]: '0.15.0'
In [2]: pd.Timestamp("2014-11-10 11:00Z")
Out[2]: Timestamp('2014-11-10 11:00:00')
@jreback jreback added Regression Functionality that used to work in a prior pandas version Datetime Datetime data dtype labels Nov 10, 2014
@jreback jreback added this to the 0.15.2 milestone Nov 10, 2014
@jreback
Copy link
Contributor

jreback commented Nov 10, 2014

xref #7833

@jreback
Copy link
Contributor

jreback commented Nov 10, 2014

@broessli interested in doing a PR?

@broessli
Copy link
Author

Done, see #8786

@jreback
Copy link
Contributor

jreback commented Nov 14, 2014

closed by #8786

@jreback jreback closed this as completed Nov 14, 2014
@jreback
Copy link
Contributor

jreback commented Nov 15, 2014

reopening as #8786 was reverted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Datetime Datetime data dtype Regression Functionality that used to work in a prior pandas version
Projects
None yet
2 participants