From: daurnimator Date: Sat, 23 Nov 2013 16:47:36 +0000 (-0500) Subject: luatz/init: Remove unnecessary 'get' prefix X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/72212b1e2c8784cf956862ef5ba63046fd9fba3d luatz/init: Remove unnecessary 'get' prefix --- 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" ; }