Time assumes UTC timezone
-------------------------
Key: JRUBY-2541
URL: http://jira.codehaus.org/browse/JRUBY-2541
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.1.1, JRuby 1.1, JRuby 1.1RC3
Environment: uname: Linux 2.6.24-16-generic #1 SMP Thu Apr 10 12:47:45
UTC 2008 x86_64 GNU/Linux
java -version: java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode)
Reporter: Jonathan Beyer
Priority: Critical
Time class assumes UTC timezone.
Code below runs differently in cruby and jruby
puts Time.now
cruby correctly identifies timezone is EST, while jruby produces a UTC time.
'TZ' environment variable is not set.
--
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