Backport #8193

Backport r39967

Added by Hiroshi SHIBATA about 1 year ago. Updated about 1 year ago.

[ruby-core:53857]
Status:Closed
Priority:Normal
Assignee:Tomoyuki Chikanaga

Description

copied issue from #8180 created by hasari.


Related issues

Related to ruby-trunk - Bug #8173: 2-arg form of Time.at can take a Time as either argument Closed 03/27/2013
Related to ruby-trunk - Bug #8180: Backport r39967 to 1.9.3 and 2.0.x Closed 03/28/2013

Associated revisions

Revision 40298
Added by Tomoyuki Chikanaga about 1 year ago

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

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

History

#1 Updated by Tomoyuki Chikanaga about 1 year ago

  • Status changed from Open to Assigned

#2 Updated by Tomoyuki Chikanaga about 1 year ago

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

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


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

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

Also available in: Atom PDF