ruby-changes:18595
From: kosaki <ko1@a...>
Date: Fri, 21 Jan 2011 00:47:24 +0900 (JST)
Subject: [ruby-changes:18595] Ruby:r30619 (trunk): revert unrelated fix from r30615. Sorry!
kosaki 2011-01-21 00:40:04 +0900 (Fri, 21 Jan 2011) New Revision: 30619 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30619 Log: revert unrelated fix from r30615. Sorry! Modified files: trunk/test/psych/test_json_tree.rb Index: test/psych/test_json_tree.rb =================================================================== --- test/psych/test_json_tree.rb (revision 30618) +++ test/psych/test_json_tree.rb (revision 30619) @@ -41,8 +41,8 @@ end def test_time - time = Time.utc(2010, 10, 10).utc - assert_equal "{\"a\": \"2010-10-10 00:00:00.000000000Z\"}\n", Psych.to_json({'a' => time }) + time = Time.new(2010, 10, 10).utc + assert_equal "{\"a\": \"2010-10-10 07:00:00.000000000Z\"}\n", Psych.to_json({'a' => time }) end def test_datetime -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/