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

Fix the timezone string parser so it won't choke on TZ=JST-9, etc. #793

Merged
merged 1 commit into from Jun 6, 2013

Conversation

Projects
None yet
2 participants
@knu
Copy link
Contributor

knu commented Jun 6, 2013

The previous change in TZ_PATTERN may render the minutes part to be
null, so a null check is required before passing a captured value to
Integer.parseInt().

Fix the timezone string parser so it won't choke on TZ=JST-9, etc.
The previous change in TZ_PATTERN may render the minutes part to be
null, so a null check is required before passing a captured value to
Integer.parseInt().

BanzaiMan added a commit that referenced this pull request Jun 6, 2013

Merge pull request #793 from knu/fix_tz_parsing
Fix the timezone string parser so it won't choke on TZ=JST-9, etc.

@BanzaiMan BanzaiMan merged commit 56a8778 into jruby:master Jun 6, 2013

1 check failed

default The Travis CI build could not complete due to an error
Details
@BanzaiMan

This comment has been minimized.

Copy link
Member

BanzaiMan commented Jun 6, 2013

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.