Project

General

Profile

« Previous | Next » 

Revision 7f9089a1

Added by nobu (Nobuyoshi Nakada) over 5 years ago

Time.parse based from non-Time object

  • 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]

Co-authored-by: nkmrya (Yasuhiro Nakamura)

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e