[前][次][番号順一覧][スレッド一覧]

ruby-changes:33316

From: naruse <ko1@a...>
Date: Mon, 24 Mar 2014 17:02:58 +0900 (JST)
Subject: [ruby-changes:33316] naruse:r45395 (trunk): Asia/Tokyo is more portable value for ENV["TZ"] [Bug #9652]

naruse	2014-03-24 17:02:54 +0900 (Mon, 24 Mar 2014)

  New Revision: 45395

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45395

  Log:
    Asia/Tokyo is more portable value for ENV["TZ"] [Bug #9652]
    
    FreeBSD doesn't accept "Japan".

  Modified files:
    trunk/test/ruby/test_time.rb
Index: test/ruby/test_time.rb
===================================================================
--- test/ruby/test_time.rb	(revision 45394)
+++ test/ruby/test_time.rb	(revision 45395)
@@ -312,7 +312,7 @@ class TestTime < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_time.rb#L312
 
   def test_marshal_zone_gc
     assert_separately(%w(--disable-gems), <<-'end;')
-      ENV["TZ"] = "Japan"
+      ENV["TZ"] = "Asia/Tokyo"
       s = Marshal.dump(Time.now)
       t = Marshal.load(s)
       n = 0

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]