telize

High performance JSON IP and GeoIP REST API (IP Geolocation)
Log | Files | Refs | README | LICENSE

commit 45176cf6e91557e69e1f91f6d5eff4e4bb33cb38
parent 31b2354ff6e6e860a1b7030cbbb61bb12be2fd01
Author: Frederic Cambus <fred@statdns.com>
Date:   Sat,  3 Mar 2018 18:18:12 +0100

Switch to $geoip2 variables for the timezone offsets generator

Diffstat:
Mtz-offset.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tz-offset.lua b/tz-offset.lua @@ -358,7 +358,7 @@ local timezones = { local utcnow = luatz.time () -print("map $geoip_timezone $geoip_timezone_offset {") +print("map $geoip2_timezone $geoip2_timezone_offset {") for loop, timezone in ipairs(timezones) do print('\t"' .. timezone .. '" ' ..