[ruby-core:32968] [Ruby 1.9-Bug#4005] YAML fails to roundtrip Time objects

From: Yui NARUSE <redmine@...>
Date: 2010-10-30 05:31:46 UTC
List: ruby-core #32968
Issue #4005 has been updated by Yui NARUSE.


It seems from less than 1 second, so try following:
ruby -v -ryaml -e 't0 = Time.now;t2=YAML::load(t1=YAML::dump(t0));p [t0.to_f,t2.to_f];p t1'
----------------------------------------
http://redmine.ruby-lang.org/issues/show/4005

----------------------------------------
http://redmine.ruby-lang.org

In This Thread