diff options
author | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2018-12-23 10:46:00 +0100 |
---|---|---|
committer | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2018-12-23 10:46:00 +0100 |
commit | 589d489fb9076a129f9148c68d8b823cbfbb1644 (patch) | |
tree | be765235bf46133eddd4b0ce9a135a86848ecee9 | |
parent | db85680c669ed7df0b15f09342bfed21b658222e (diff) | |
download | xban2-589d489fb9076a129f9148c68d8b823cbfbb1644.tar.gz xban2-589d489fb9076a129f9148c68d8b823cbfbb1644.tar.bz2 xban2-589d489fb9076a129f9148c68d8b823cbfbb1644.zip |
Fix expiry date
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -202,7 +202,7 @@ function xban.get_record(player) local msg = rec.type or "ban" msg = msg .. ": " .. rec.reason or "No reason given." if rec.expires then - msg = msg..(", Expires: %s"):format(os.date("%c", e.expires)) + msg = msg..(", Expires: %s"):format(os.date("%Y-%m-%d %H:%M:%S", rec.expires)) end if rec.source then msg = msg..", Source: "..rec.source |