-
-
Notifications
You must be signed in to change notification settings - Fork 689
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
parser: allow (UTC prefix in TzInfoParser #1099
Conversation
Input like '(UTC+01:00) Amsterdam, Berlin...' couldn't be parsed by the code. Allow (UTC prefixes to the string and also ignore suffixes to the strings, as remainders are not relevant to the further computation. Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Codecov Report
@@ Coverage Diff @@
## master #1099 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 10 10
Lines 2325 2325
Branches 449 449
=========================================
Hits 2325 2325
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
@anishnya @jadchaar @krisfremen any feedback on this PR? |
Hey @priv-kweihmann, sorry for the delay in looking at this. The changes look good to me and I've approved the PR. Just awaiting confirmation from one @jadchaar, @krisfremen, or @systemcatch here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Pull Request Checklist
Thank you for taking the time to improve Arrow! Before submitting your pull request, please check all appropriate boxes:
tox
ormake test
to find out!).tox -e lint
ormake lint
to find out!).master
branch.If you have any questions about your code changes or any of the points above, please submit your questions along with the pull request and we will try our best to help!
Description of Changes
allow (UTC prefix in TzInfoParser
Input like '(UTC+01:00) Amsterdam, Berlin...' couldn't be parsed
by the code. Allow (UTC prefixes to the string and also ignore suffixes
to the strings, as remainders are not relevant to the further
computation.
This particular input was the TZ string send by a remote mail server