X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/30d7af10d208006ea09f32bd006c2cb2556a36ac..cce108c5533a9c7386949a4fd008b73638247177:/luatz/init.lua?ds=sidebyside diff --git a/luatz/init.lua b/luatz/init.lua index 2ad2ae8..3243f9d 100644 --- a/luatz/init.lua +++ b/luatz/init.lua @@ -1,13 +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" ; }