-
Notifications
You must be signed in to change notification settings - Fork 509
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
Revert changes to TimeZoneName::new parser #1167
Conversation
Could this PR include another commit to add the |
Oops, should have noticed this in review. |
I think having a test that mostly is a list of numbers or offset values works a bit confusing. But I've updated the test to some realistic values, and to test the cases |
5890e6d
to
fe37696
Compare
Sorry for all the pushes. This is not working from a Windows PC 😆 |
@jtmoon79 Are the changes to the test acceptable? |
@djc do you want to have a second look at the test, or shall I merge this? |
Thanks for asking, merge away! |
See #1087 (comment).
With the changes to support a minus sign when parsing a timezone offset, #1087 accidentally changed the parsing of a timezone abbreviation in a tzif file. This is just a short ASCII string, that doesn't care about a minus sign.