From 9369fd8d056f9fc69b5c3ac7613a1b4fd700af64 Mon Sep 17 00:00:00 2001 From: reality Date: Tue, 22 Oct 2013 16:52:30 +0000 Subject: [PATCH] correct the date format --- modules/sstats/commands.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/sstats/commands.js b/modules/sstats/commands.js index 1c9d2d9..8b2bf51 100644 --- a/modules/sstats/commands.js +++ b/modules/sstats/commands.js @@ -13,7 +13,7 @@ var commands = function(dbot) { 'words': uStats.words, 'curses': uStats.curses, 'capitals': uStats.capitals, - 'date': moment(uStats.creation).format('dd/mm/YYYY') + 'date': moment(uStats.creation).format('DD/MM/YYYY') }); if(event.rChannel && _.has(uStats.channels, event.rChannel.id)) { ucStats = uStats.channels[event.rChannel.id]; @@ -51,7 +51,7 @@ var commands = function(dbot) { var output = dbot.t('sstats_tlines', { 'user': user.primaryNick, 'lines': uStats.lines, - 'date': moment(uStats.creation).format('dd/mm/YYYY') + 'date': moment(uStats.creation).format('DD/MM/YYYY') }); if(event.rChannel && _.has(uStats.channels, event.rChannel.id)) { output += dbot.t('sstats_uclines', { @@ -197,7 +197,7 @@ var commands = function(dbot) { 'total': tWord.total, 'channels': _.keys(tWord.channels).length, 'users': _.keys(tWord.users).length, - 'since': moment(tWord.creation).format('dd/mm/YYYY') + 'since': moment(tWord.creation).format('DD/MM/YYYY') })); } else { event.reply(word + ' isn\'t being tracked.');