Time#iso8601 output of nanoseconds lost in --1.9 mode
-----------------------------------------------------
Key: JRUBY-5676
URL: http://jira.codehaus.org/browse/JRUBY-5676
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.6
Environment: OSX 10.6.7, JRuby 1.6.0 (via rvm) in --1.9 mode
Reporter: Dan Kubb
Assignee: Thomas E Enebo
In --1.9 mode the nanoseconds part is dropped when Time#iso8601 is passed an
argument:
ruby --1.8 -rtime -e 'p Time.utc(2010, 12, 31, 23, 59, 59, 1).iso8601(9)'
# => "2010-12-31T23:59:59.000001000Z"
ruby --1.9 -rtime -e 'p Time.utc(2010, 12, 31, 23, 59, 59, 1).iso8601(9)'
# => "2010-12-31T23:59:59.000000000Z"
--
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