mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Re-enable example for Europe/Amsterdam pre-1970 time
* https://github.com/ruby/spec/pull/939 * https://github.com/ruby/ruby/pull/6393
This commit is contained in:
parent
0872fe0973
commit
df1cf0a08b
1 changed files with 3 additions and 5 deletions
|
@ -6,18 +6,16 @@ describe :time_local, shared: true do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
=begin
|
|
||||||
platform_is_not :windows do
|
platform_is_not :windows do
|
||||||
describe "timezone changes" do
|
describe "timezone changes" do
|
||||||
it "correctly adjusts the timezone change to 'CEST' on 'Europe/Amsterdam'" do
|
it "correctly adjusts the timezone change to 'CET' on 'Europe/Amsterdam'" do
|
||||||
with_timezone("Europe/Amsterdam") do
|
with_timezone("Europe/Amsterdam") do
|
||||||
Time.send(@method, 1940, 5, 16).to_a.should ==
|
Time.send(@method, 1970, 5, 16).to_a.should ==
|
||||||
[0, 40, 1, 16, 5, 1940, 4, 137, true, "CEST"]
|
[0, 0, 0, 16, 5, 1970, 6, 136, false, "CET"]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
=end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
describe :time_local_10_arg, shared: true do
|
describe :time_local_10_arg, shared: true do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue