mirror of
https://github.com/reality/dbot.git
synced 2024-11-23 20:39:25 +01:00
date formatting
This commit is contained in:
parent
84e7b5f06e
commit
14f3a09c2c
@ -114,7 +114,7 @@ var commands = function(dbot) {
|
||||
event.reply(user.primaryNick + ' has been warned ' + warn + ' times, quieted ' + quiet + ' times, and reported ' + report + ' times.');
|
||||
|
||||
_.each(_.keys(items).sort(), function(time) {
|
||||
event.reply('[' + moment(time).format('DD/MM/YYYY') + '] ' + items[time]);
|
||||
event.reply('[' + moment(parseInt(time)).format('DD/MM/YYYY') + '] ' + items[time]);
|
||||
});
|
||||
|
||||
if(ban) {
|
||||
|
Loading…
Reference in New Issue
Block a user