On 08/05/2019 19:43, André Rodier wrote: > Hi, > > Is there any way - or Debian package - to know the timezone from an IP > address, or at least from a country? I have successfully used the geoip > databases to get the country, so I could use the main city as an > approximation. > > I would prefer to do this offline, though. > > Thanks for your insights. >
Some part of my brain said that the timezone database holds this information, but it may not do so directly. Here's some suggestions from IANA, though. https://data.iana.org/time-zones/tz-link.html#boundaries