summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/ruby/test_time.rb2
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)