-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
strptime and time zones #2637
Comments
ghost
assigned erickt
Jun 21, 2012
currently %z accepts like 0400 not like 04:00, however strptime still has same problem
|
this looks more like feature-complete than bwds-compat; renominating |
just a bug, removing milestone/nomination. |
Filed in the |
ghost
closed this as completed
Nov 23, 2014
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
strptime is not handling time zones correctly. For example, if you use the format string "%FT%T%z" with ISO 8601 strings like
1999-05-31T13:20:00-04:00
and
1999-05-31T13:20:00-05:00
you get identical results back.
The code on line 510 seems seems to match the time zone offset but it only does something when the offset if zero.
The text was updated successfully, but these errors were encountered: