X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/36d88e5726e9d7da88fca3efd0d6f824d6254e46..8cde629906fd8d8e571fd519b3ca5ab3496ebbc1:/luatz/init.lua 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