mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Asia/Tokyo is more portable value for ENV["TZ"] [Bug #9652]
FreeBSD doesn't accept "Japan". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2e47a521e6
commit
f664ffb5a0
1 changed files with 1 additions and 1 deletions
|
@ -312,7 +312,7 @@ class TestTime < Test::Unit::TestCase
|
|||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue