[Ironruby-core] Patch submitted - [#19230] Time implementation
John Lam (DLR)
jflam at microsoft.com
Tue Apr 1 09:59:37 EDT 2008
Thanks for submitting this, Eric!
This reminds me that I need to add a simple implementation for ENV as well ...
> -----Original Message-----
> From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-
> bounces at rubyforge.org] On Behalf Of Eric Nicholson
> Sent: Monday, March 31, 2008 8:07 PM
> To: ironruby-core at rubyforge.org
> Subject: [Ironruby-core] Patch submitted - [#19230] Time
> Hey Guys,
> Josh Charles put a bug in my ear (thanks Josh!), so I got off my duff
> and submitted a patch for the Time class that's been sitting on my
> laptop for months. It should have implementations for most of the
> basic Time functionality save for the strftime method. It'll pass 22
> of the
> 55 time specs. It would pass almost all of them, but the specs depend
> on ENV["TZ"] to set the system time zone, which I'm not sure is really
> possible on Windows, and seems a little sketchy anyway (who wants
> specs monkeying with their system time?). I had more luck with the
> JRuby tests when I ran them.
> I hope it's useful for somebody... Cheers!
> Eric Nicholson
More information about the Ironruby-core