aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
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