Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.5.1
-
Fix Version/s: JRuby 1.6RC1
-
Component/s: Core Classes/Modules, Ruby 1.9.2
-
Labels:None
-
Number of attachments :
Description
Time.new can now accept parameters in which I suspect is the same as Time.local now (haven't checked).
I pushed an attempt to the master
Time.local already takes variable number of parameters, but its behavior changed. The year was assumed to be in 1969-2038 range in 1.8.x, but that's no longer the case.
Also, with MRI, it is possible to create an instance of Time with no time zone:
but I don't think this is possible with joda-time. (At least, I couldn't find a way to do it.)