From: daurnimator Date: Mon, 22 Jul 2013 16:15:26 +0000 (-0400) Subject: src/: Fix gettime requiring X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/b6b491d8f9d82f15f6b807efa95c8f2f4ceebd78?ds=inline src/: Fix gettime requiring --- diff --git a/src/tzfile.lua b/src/tzfile.lua index 86af594..eed426e 100644 --- a/src/tzfile.lua +++ b/src/tzfile.lua @@ -1,4 +1,3 @@ -local gettime = require "luatz.gettime".gettime local tz_info_mt = require "luatz.tzinfo".tz_info_mt local function read_int32be ( fd ) diff --git a/src/tzinfo.lua b/src/tzinfo.lua index 66589d9..468694d 100644 --- a/src/tzinfo.lua +++ b/src/tzinfo.lua @@ -1,3 +1,5 @@ +local gettime = require "luatz.gettime".gettime + local tz_info_methods = { } local tz_info_mt = { __index = tz_info_methods ;