Fixes north america/US crosslinking stuff
This commit is contained in:
parent
642c53319f
commit
0aeaae378f
|
@ -259,6 +259,8 @@ private
|
|||
|
||||
regions.flatten!
|
||||
|
||||
require "holidays/north_america" if regions.include?(:us) # special case for north_america/US cross-linking
|
||||
|
||||
raise UnknownRegionError unless regions.all? { |r| r == :any or @@regions.include?(r) or begin require "holidays/#{r.to_s}"; rescue LoadError; false; end }
|
||||
regions
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue