diff options
author | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2018-09-23 16:49:33 +0200 |
---|---|---|
committer | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2018-09-23 16:49:33 +0200 |
commit | 563e0a7bca093aae8ddc0e1af73083b406b809f1 (patch) | |
tree | 43a74ba03d8d1c4b27eaedac991d1508f34f964f | |
parent | bbc0fb55c69a7234aff93e4155053c32c9c06342 (diff) |
Fix wrong time listing in /xban_record, use the same format as gui
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |