diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-07 02:58:55 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-07 02:58:55 +0000 |
commit | 3c0f66570cec6ce2eb7e60d2dfef80ad0cff2878 (patch) | |
tree | 57585c794a62c482e39458d5b752dd3a10b0cf88 /test | |
parent | 1bb1d096fbd5d5b79539aa5ff9bf53bca87fe686 (diff) | |
download | ruby-3c0f66570cec6ce2eb7e60d2dfef80ad0cff2878.tar.gz |
Use more portable value for ENV['TZ']
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_time.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_time.rb b/test/ruby/test_time.rb index c4ffccedad..ca2b638e2d 100644 --- a/test/ruby/test_time.rb +++ b/test/ruby/test_time.rb @@ -297,7 +297,7 @@ class TestTime < Test::Unit::TestCase 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) |