Skip to content

Commit

Permalink
[minor #194 ] show complete ISO String
Browse files Browse the repository at this point in the history
  • Loading branch information
svnlto committed Dec 20, 2013
1 parent 4d68ddb commit 40a328b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/middleware/loggers.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ exports.dev = function (server_name) {
len = isNaN(len) ? '' : len = ' - ' + bytes(len);
var date = new Date();

var logStr = '\033[90m' + date.toISOString().split('.')[0] + ' [';
var logStr = '\033[90m' + date.toISOString() + ' [';
logStr += server_name + '] ' + req.method + ' ';
logStr += '\033[' + color + 'm' + res.statusCode + '\033[90m';
logStr += ' ' + req.originalUrl + ' ';
Expand Down

0 comments on commit 40a328b

Please sign in to comment.