From 563e0a7bca093aae8ddc0e1af73083b406b809f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20P=C3=A9rez-Cerezo?= Date: Sun, 23 Sep 2018 16:49:33 +0200 Subject: Fix wrong time listing in /xban_record, use the same format as gui --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 0f816d2..4e1a997 100644 --- a/init.lua +++ b/init.lua @@ -193,7 +193,7 @@ function xban.get_record(player) if rec.source then msg = msg..", Source: "..rec.source end - table.insert(record, ("[%s]: %s"):format(os.date("%c", e.time), msg)) + table.insert(record, ("[%s]: %s"):format(os.date("%Y-%m-%d %H:%M:%S", rec.time), msg)) end local last_pos if e.last_pos then -- cgit v1.2.3