X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/e5c87b4489b0881b7b9903733478f0d11ac96ab7..b7645320a1905587b16a8b2035481bbd45788175:/luatz/init.lua?ds=inline diff --git a/luatz/init.lua b/luatz/init.lua index 1f223d1..3243f9d 100644 --- a/luatz/init.lua +++ b/luatz/init.lua @@ -1,12 +1,13 @@ local get_tz = require "luatz.tzcache".get_tz -local function gettimein ( tz , now ) +local function time_in ( tz , now ) return get_tz ( tz ):localize ( now ) end return { get_tz = get_tz ; - gettime = require "luatz.gettime".gettime ; - gettimein = gettimein ; + time = require "luatz.gettime".gettime ; + time_in = time_in ; + parse = require "luatz.parse" ; timetable = require "luatz.timetable" ; }