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

Projects

None yet

2 participants

@knu
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().

@knu knu 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().
f0d5ddb
@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
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment