yhirose / maxminddb

Pure Ruby GeoIP2 MaxMind DB reader.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

time zone info

morgoth opened this issue · comments

In first version of geoip there was available time zone information.
Is it provided in geoip2? And if yes, would it be possible to provide it in this gem?

@morgoth, the location result object has the time zone field. Is it what you wanted?
https://github.com/yhirose/maxminddb/blob/master/lib/maxminddb/result/location.rb#L20-L22

Yes, thank you - somehow I missed it.