diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-20 01:03:18 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-20 01:03:18 +0000 |
commit | b797c2b64096433c5ea8ab45cd988f48b34d049d (patch) | |
tree | 07b8b3c2e4236429e5ac1764211db8454420599c /version.h | |
parent | 6fd04415db2bf6e25087c197b5cc4a95a7fbb7cb (diff) | |
download | ruby-b797c2b64096433c5ea8ab45cd988f48b34d049d.tar.gz |
Make Time.parse respect timezone offset seconds
DateTime.parse handles them correctly, and DateTime.parse.to_time
results in the correct time. Time.parse doesn't handle them
correctly because Time.zone_offset uses a different regexp that
only considers hours and minutes, not seconds.
[ruby-core:83400] [Bug #14034]
From: Jeremy Evans <code@jeremyevans.net>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'version.h')
0 files changed, 0 insertions, 0 deletions