# Patch submitted - \[#19230\] Time implementation

**URL:** <https://www.ruby-forum.com/t/patch-submitted-19230-time-implementation/133504>\
**Category:** IronRuby\
**Created:** [April 1, 2008, 5:09am UTC](https://www.ruby-forum.com/t/patch-submitted-19230-time-implementation/133504 "2008-04-01T05:09:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nielsene](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/bc79bd/32.png) [@nielsene](https://www.ruby-forum.com/u/nielsene)\
**Post date:** [April 1, 2008, 5:09am UTC](https://www.ruby-forum.com/t/patch-submitted-19230-time-implementation/133504/1 "2008-04-01T05:09:30Z")

</div>

Hey Guys,

Josh C. 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 N.

---

<div class="post-metadata">

**Author:** ![nielsene](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/bc79bd/32.png) [@nielsene](https://www.ruby-forum.com/u/nielsene)\
**Post date:** [April 1, 2008, 4:01pm UTC](https://www.ruby-forum.com/t/patch-submitted-19230-time-implementation/133504/2 "2008-04-01T16:01:59Z")

</div>

Thanks for submitting this, Eric!

This reminds me that I need to add a simple implementation for ENV as  
well …

Thanks,  
-John
