Yaml can't handle Times with non-zero usecs
-------------------------------------------
Key: JRUBY-1972
URL: http://jira.codehaus.org/browse/JRUBY-1972
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.1RC1
Environment: Latest JRuby 1.1RC1
Reporter: Vladimir Sizikov
The following example:
{noformat}
require 'yaml';
t = Time.local(2008, 12, 30, 5, 30, 0, 100);
p YAML::load(t.to_yaml) == t
{noformat}
Prints true on MRI, but false on JRuby.
It seems that JRuby's Yaml implementation can't "round-trip" such Time
instances with non-zero usecs.
--
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