Avoid NaN comparisons
In case any of latitude or longitude is NaN, immediately return Tz::Undefined, instead of attempting comparisons the timezone range. This fixes the timezone lookup on some architectures.
Please register or sign in to comment
In case any of latitude or longitude is NaN, immediately return Tz::Undefined, instead of attempting comparisons the timezone range. This fixes the timezone lookup on some architectures.