Project

General

Profile

Backport #8194

Backport r39967

Added by hsbt (Hiroshi SHIBATA) over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
[ruby-core:53858]

Description

copied issue from #8180 created by hasari.


Related issues

Related to Ruby master - Bug #8180: Backport r39967 to 1.9.3 and 2.0.xClosed03/28/2013Actions
Related to Ruby master - Bug #8173: 2-arg form of Time.at can take a Time as either argumentClosed03/27/2013Actions

Associated revisions

Revision c921d0e1
Added by usa (Usaku NAKAMURA) over 6 years ago

merge revision(s) 39967: [Backport #8194]

    * time.c (num_exact): use to_r method only if to_int method is
      available.
      [ruby-core:53764] [Bug #8173] reported by Hiro Asari.

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

Revision 40054
Added by usa (Usaku NAKAMURA) over 6 years ago

merge revision(s) 39967: [Backport #8194]

* time.c (num_exact): use to_r method only if to_int method is
  available.
  [ruby-core:53764] [Bug #8173] reported by Hiro Asari.

History

#1

Updated by usa (Usaku NAKAMURA) over 6 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r40054.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


merge revision(s) 39967: [Backport #8194]

* time.c (num_exact): use to_r method only if to_int method is
  available.
  [ruby-core:53764] [Bug #8173] reported by Hiro Asari.

Also available in: Atom PDF