Skip to content

Commit

Permalink
Historical timezones of Lisbon in tzdata are unstable
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Mar 26, 2023
1 parent d515292 commit ac458f6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/ruby/test_time_tz.rb
Expand Up @@ -201,9 +201,8 @@ def test_europe_berlin
end

def test_europe_lisbon
omit 'this becomes CET on macOS during DST' if ENV.key?('GITHUB_ACTIONS') && RUBY_PLATFORM.match?(/darwin/)
with_tz("Europe/Lisbon") {
assert_equal("LMT", Time.new(-0x1_0000_0000_0000_0000).zone)
assert_include(%w"LMT CET", Time.new(-0x1_0000_0000_0000_0000).zone)
}
end if has_lisbon_tz

Expand Down

0 comments on commit ac458f6

Please sign in to comment.