1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Windows does not know Unix style timezone

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2017-05-12 10:37:41 +00:00
parent 0c16051114
commit 512db21900

View file

@ -34,7 +34,9 @@ describe "CApiTimeSpecs" do
time = @s.rb_time_num_new(1232141421, nil) time = @s.rb_time_num_new(1232141421, nil)
time.should be_an_instance_of(Time) time.should be_an_instance_of(Time)
time.to_i.should == 1232141421 time.to_i.should == 1232141421
time.gmt_offset.should == 3600 platform_is_not :windows do
time.gmt_offset.should == 3600
end
end end
end end