lib/time.rb (Time.make_time): as the document states, the second
argument of Time.parse may be a non-Time object which does not
have getlocal method, assume it is in the local time in the case.
based on the patch by nkmrya (Yasuhiro Nakamura) at [ruby-core:68775]. [ruby-core:68775] [Bug #11037]
Time.parse based from non-Time object
argument of
Time.parse
may be a non-Time
object which does nothave
getlocal
method, assume it is in the local time in the case.based on the patch by nkmrya (Yasuhiro Nakamura) at
[ruby-core:68775]. [ruby-core:68775] [Bug #11037]
Co-authored-by: nkmrya (Yasuhiro Nakamura) yasuhiro6194@gmail.com
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e