Fix timeout on connections

This commit is contained in:
Cryptkeeper
2015-11-02 00:01:04 -06:00
parent dec1536c6c
commit 0cbfcf60d7
4 changed files with 11 additions and 7 deletions

View File

@ -8,8 +8,8 @@ winston.add(winston.transports.File, {
winston.add(winston.transports.Console, {
'timestamp': function() {
var date = new Date();
return date.toLocaleTimeString() + " " + date.getDate() + "/" + (date.getMonth() + 1) + "/" + date.getFullYear().toString().substring(2, 4);
return date.toLocaleTimeString() + ' ' + date.getDate() + '/' + (date.getMonth() + 1) + '/' + date.getFullYear().toString().substring(2, 4);
},
'colorize': true
});