ruby-changes:26191
From: naruse <ko1@a...>
Date: Fri, 7 Dec 2012 11:59:02 +0900 (JST)
Subject: [ruby-changes:26191] naruse:r38248 (trunk): Use more portable value for ENV['TZ']
naruse 2012-12-07 11:58:55 +0900 (Fri, 07 Dec 2012) New Revision: 38248 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38248 Log: Use more portable value for ENV['TZ'] Modified files: trunk/test/ruby/test_time.rb Index: test/ruby/test_time.rb =================================================================== --- test/ruby/test_time.rb (revision 38247) +++ test/ruby/test_time.rb (revision 38248) @@ -297,7 +297,7 @@ assert_equal('UTC', t.zone) assert_equal('UTC', Marshal.load(Marshal.dump(t)).zone) - ENV['TZ'] = 'Asia/Tokyo' + ENV['TZ'] = 'JST-9' t = Time.local(2013, 2, 24) assert_equal('JST', Time.local(2013, 2, 24).zone) assert_equal('JST', Marshal.load(Marshal.dump(t)).zone) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/