Skip to content

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

Merged
BanzaiMan merged 1 commit intojruby:masterfrom
knu:fix_tz_parsing
Jun 6, 2013
Merged

Fix the timezone string parser so it won't choke on TZ=JST-9, etc.#793
BanzaiMan merged 1 commit intojruby:masterfrom
knu:fix_tz_parsing

Conversation

@knu
Copy link
Contributor

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

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
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
@BanzaiMan
Copy link
Member

Thank you!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants