Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: JRuby 1.1.5, JRuby 1.1.6, JRuby 1.2, JRuby-OpenSSL 0.4, JRuby-OpenSSL 0.5, JRuby 1.3RC1, JRuby 1.3RC2
-
Fix Version/s: None
-
Component/s: Core Classes/Modules
-
Labels:None
Description
(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
Issue Links
- is related to
-
JRUBY-2541
Time assumes UTC timezone
-
Similar issue
JRUBY-2541, it seems.JRUBY-2541, it seems.