From: daurnimator Date: Sun, 24 Aug 2014 02:01:02 +0000 (-0400) Subject: luatz/strftime: Fix asctime (forgot to call string.format) X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/523b2e0f1ece77c569f6db4c040886ed3124512e?ds=inline luatz/strftime: Fix asctime (forgot to call string.format) --- diff --git a/luatz/strftime.lua b/luatz/strftime.lua index 55e7b67..51410cf 100644 --- a/luatz/strftime.lua +++ b/luatz/strftime.lua @@ -200,7 +200,7 @@ end local function asctime ( timetable ) -- Equivalent to the format string "%c\n" - return t.c ( timetable , c_locale ) .. "\n" + return strformat ( t.c ( timetable , c_locale ) ) .. "\n" end return {