X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/18bf7fd0b374cd96b46b95265e356e975c3992ea..414b3f2c8793286885e3b999a3911f3b6def630c:/luatz/tzfile.lua?ds=sidebyside diff --git a/luatz/tzfile.lua b/luatz/tzfile.lua index 4fddddf..9603cfc 100644 --- a/luatz/tzfile.lua +++ b/luatz/tzfile.lua @@ -98,7 +98,7 @@ local function read_tz ( fd ) local abbreviations = assert ( fd:read ( tzh_charcnt ) ) - local leap_seconds = { } + local leap_seconds = { } -- luacheck: ignore 241 for i=1, tzh_leapcnt do leap_seconds [ i ] = { offset = assert ( read_int32be ( fd ) ) ; @@ -218,6 +218,7 @@ local function read_tz ( fd ) end local res = { + future = TZ; [0] = { transition_time = MIN_TIME ; info = ttinfos [ first ] ;