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.
Showing
Please register or sign in to comment