Jruby's "Time.now" output always outputs UTC; doesn't match MRI.
----------------------------------------------------------------
Key: JRUBY-3724
URL: http://jira.codehaus.org/browse/JRUBY-3724
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.3RC2, JRuby 1.3RC1, JRuby-OpenSSL 0.5,
JRuby-OpenSSL 0.4, JRuby 1.2, JRuby 1.1.6, JRuby 1.1.5
Reporter: Michael Campbell
Priority: Minor
(From an email on the jruby list)
14:04:08 ~>ruby -e 'p Time.now'
Sat May 30 14:04:13 -0400 2009
14:04:13 ~>jruby -e 'p Time.now'
Sat May 30 18:04:18 UTC 2009
I'm in the US Eastern time zone, so the following especially seems wrong to me.
14:04:18 ~>jruby -e 'p Time.now.getlocal.gmt?'
true
14:08:03 ~>jruby -e 'p Time.now.getlocal'
Sat May 30 18:08:08 UTC 2009
14:09:49 ~>jruby -e 'p Time.now.localtime'
Sat May 30 18:10:10 UTC 2009
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email