Skip to content

Re-enable example for Europe/Amsterdam pre-1970 time for Ruby 2.7 #6470

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions spec/ruby/core/time/shared/local.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,16 @@
end
end

=begin
platform_is_not :windows 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
Time.send(@method, 1940, 5, 16).to_a.should ==
[0, 40, 1, 16, 5, 1940, 4, 137, true, "CEST"]
Time.send(@method, 1970, 5, 16).to_a.should ==
[0, 0, 0, 16, 5, 1970, 6, 136, false, "CET"]
end
end
end
end
=end
end

describe :time_local_10_arg, shared: true do
Expand Down