Issue Type: Bug Bug
Affects Versions: JRuby 1.7.0.RC2
Assignee: Unassigned
Components: Core Classes/Modules
Created: 19/Oct/12 9:04 AM
Description:

According to MRI, in Ruby 1.9 Time.new can be called with 7 arguments like so:

new(year, month = nil, day = nil, hour = nil, min = nil, sec = nil, utc_offset = nil)

Currently, not only does JRuby ignore the UTC offset argument, but it also misinterprets it as a microsecond offset. See:

> Time.new(2011, 7, 15, nil, nil, nil, "-08:00")
2011-07-14 23:59:59 +0300
Project: JRuby
Priority: Major Major
Reporter: Joshua Ballanco
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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

Reply via email to