[MacRuby] #946: DateTime.now is broken in MacRuby 0.7
MacRuby
ruby-noreply at macosforge.org
Fri Oct 8 19:04:17 PDT 2010
#946: DateTime.now is broken in MacRuby 0.7
-----------------------------+----------------------------------------------
Reporter: macruby@… | Owner: eloy.de.enige@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
-----------------------------+----------------------------------------------
Changes (by lsansonetti@…):
* owner: lsansonetti@… => eloy.de.enige@…
Comment:
It seems to be a problem in macirb. DateTime.now works fine in macruby
itself.
{{{
$ /usr/local/bin/macruby -r date -e 'p DateTime.now'
#<DateTime: 2010-10-08T19:04:27-07:00
(353588916445681/144000000,-7/24,2299161)>
$ macirb
irb(main):001:0> require 'date'
=> true
irb(main):002:0> DateTime.now
NoMethodError: undefined method `subsec' for 2010-10-08 19:04:36
-0700:Time
irb(main):003:0> ^D$
}}}
Eloy can you investigate?
--
Ticket URL: <http://www.macruby.org/trac/ticket/946#comment:1>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list