From: daurnimator Date: Mon, 18 Aug 2014 18:42:35 +0000 (-0400) Subject: luatz/init: asctime is now in strftime library, not a timetable method X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/fd0ec55a5f85a97e420ad6e066d33c08e7c48c95 luatz/init: asctime is now in strftime library, not a timetable method --- diff --git a/luatz/init.lua b/luatz/init.lua index 02b07ba..8ab7cfc 100644 --- a/luatz/init.lua +++ b/luatz/init.lua @@ -29,7 +29,7 @@ _M.localtime = function ( ts ) end _M.ctime = function ( ts ) - return _M.localtime ( ts ):asctime ( ) + return _M.strftime.asctime ( _M.localtime ( ts ) ) end return _M