willdurand/Geocoder — pull request #152 by andrea-chris (2012-11-15 00:07:47+00:00)
Title: Improving GeoipProvider

Hi,
GeoipProvider returned region as regionCode. I've added a geoip_record_by_name call to return proper region name or fall back to region code.

Moreover, geoip_time_zone_by_country_and_region returns the time zone on success, or FALSE if the country and region code combo cannot be found. I've added a check to return null if $timezone is set to false.