From b6b491d8f9d82f15f6b807efa95c8f2f4ceebd78 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Mon, 22 Jul 2013 12:15:26 -0400 Subject: [PATCH] src/: Fix gettime requiring --- src/tzfile.lua | 1 - src/tzinfo.lua | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) 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 ; -- 2.39.5