Permalink
Browse files

fixed logged minute field (was actually month number)

  • Loading branch information...
1 parent ca444a1 commit 72316484d520a4bfa4ae1039603d410f701f1aea Jarno Heikkinen committed Nov 29, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/tokens.js
View
4 lib/tokens.js
@@ -21,7 +21,7 @@ exports['t'] = function(req) {
var offset = d.getTimezoneOffset();
var tz = zerofill(Math.abs(offset) / 60, 2) + zerofill(Math.abs(offset) % 60, 2);
tz = (offset > 0 ? '-' : '+') + tz;
- return '[' + dateable.format(d, 'DD/MMM/YYYY:HH:MM:ss') + ' ' + tz + ']';
+ return '[' + dateable.format(d, 'DD/MMM/YYYY:HH:mm:ss') + ' ' + tz + ']';
};
exports['r'] = function(req) {
@@ -43,4 +43,4 @@ exports['{Referer}i'] = function(req) {
exports['{User-agent}i'] = function(req) {
return req.headers['user-agent'];
-};
+};

0 comments on commit 7231648

Please sign in to comment.