kuno / GeoIP

GeoIP binding for nodejs(>=0.10) and iojs
GNU Lesser General Public License v2.1
414 stars 129 forks source link

Added time_zone to the response object of city.lookupSync #21

Closed Sembiance closed 12 years ago

Sembiance commented 12 years ago

Simple addition of time_zone to the response object of city.lookupSync

Sembiance commented 12 years ago

Hello

I've added it to city6 and also added it to the async lookup calls.

I cannot add it to country because to look up the timezone you need both the country code AND the region. Since the country module only has the country available, it is not possible to return a time_zone for the country module.

I've also pulled in your latest changes, so this pull request is ready to be merged.

kuno commented 12 years ago

thanks, merged!