Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 0.9.2
-
Fix Version/s: JRuby 0.9.8
-
Component/s: Core Classes/Modules
-
Labels:None
-
Number of attachments :
Description
ENV['TZ'] = 'NZ' p Time.local(2006,10,1,3, 0, 1)
Unless you are in new zealand you will see something other than:
Sun Oct 01 03:00:01 NZDT 2006
localtime needs to check environment variable
This should fix it.