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

[bugfix] parseZone should handle UTC #3523

Closed
wants to merge 1 commit into from

Conversation

icambron
Copy link
Member

Fix for #3520 and #3521, where parseZone doesn't handle UTC correctly. Specifically, we need to treat parsing 0 out of the string differently from failing to parse it at all.

@maggiepint
Copy link
Member

Woah! Pull request from @icambron. I am so excited.

@mattjohnsonpint
Copy link
Contributor

@icambron please make sure that the pending fix in #3463 doesn't throw this off. I think it will be fine, but please confirm. Thanks.

@icambron
Copy link
Member Author

icambron commented Nov 5, 2016

@mj1856 Interesting, hadn't seen that. Each fix suffices on their own to fix the specific issue. His is better for the ISO case, but mine also handles additional cases. The right answer is to just take both.

@ichernev
Copy link
Contributor

ichernev commented Nov 5, 2016

Great. I'll merge both.

@ichernev
Copy link
Contributor

ichernev commented Nov 6, 2016

Merged in 66721ca

@ichernev ichernev changed the title parseZone should handle UTC [bugfix] parseZone should handle UTC Nov 6, 2016
@ichernev ichernev closed this Nov 6, 2016
ichernev added a commit that referenced this pull request Nov 6, 2016
[bugfix] parseZone should handle UTC
@mattjohnsonpint mattjohnsonpint added this to the 2.16.0 milestone Nov 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants