From: Tinco Andringa Date: 2011-05-05T10:15:31+09:00 Subject: [ruby-core:36011] [Ruby 1.9 - Bug #4571] YAML.load given an ISO8601 timestamp creates an incorrect value for usec Issue #4571 has been updated by Tinco Andringa. I have submitted a pull request for this bug: https://github.com/ruby/ruby/pull/15 ---------------------------------------- Bug #4571: YAML.load given an ISO8601 timestamp creates an incorrect value for usec http://redmine.ruby-lang.org/issues/4571 Author: Brian Ford Status: Assigned Priority: Normal Assignee: Aaron Patterson Category: ext Target version: ruby -v: ruby 1.9.3dev (2011-04-12 trunk 31263) [i386-darwin9.8.0] =begin $ ruby1.8.7 -v -ryaml -e 'p YAML.load("2011-03-22t23:32:11.000000342222+01:00").usec' ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-darwin9.8.0] 342222 $ ruby1.9.2 -v -ryaml -e 'p YAML.load("2011-03-22t23:32:11.000000342222+01:00").usec' ruby 1.9.2p180 (2011-02-18 revision 30909) [i386-darwin9.8.0] 342222 $ ruby1.9 -v -ryaml -e 'p YAML.load("2011-03-22t23:32:11.000000342222+01:00").usec' ruby 1.9.3dev (2011-04-12 trunk 31263) [i386-darwin9.8.0] 342222 I believe these should be 0. Thanks, Brian =end -- http://redmine.ruby-lang.org