From c7ca2e2573f967b131f2d59e447dfbba7d4a5a43 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Fri, 14 Nov 2014 16:16:06 -0500 Subject: [PATCH] fixing time derp if minutes are singular --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 66dae98073..91bc35b2e6 100644 --- a/app.js +++ b/app.js @@ -41,7 +41,7 @@ winston.add(winston.transports.Console, { colorize: true, timestamp: function() { var date = new Date(); - return date.getDate() + '/' + (date.getMonth() + 1) + ' ' + date.getHours() + ':' + date.getMinutes() + ' [' + global.process.pid + ']'; + return date.getDate() + '/' + (date.getMonth() + 1) + ' ' + date.toTimeString().substr(0,5) + ' [' + global.process.pid + ']'; }, level: global.env === 'production' ? 'info' : 'verbose' });