Merge pull request #9 from instanceof/master

The month is off in log messages because of UTC month numbers
This commit is contained in:
Mark Cavage 2011-08-30 21:09:16 -07:00
commit 1ec7a76b66
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ function format(level, name, args) {
var fmtStr = args.shift(); var fmtStr = args.shift();
var fmtArgs = [ var fmtArgs = [
d.getUTCFullYear(), d.getUTCFullYear(),
pad(d.getUTCMonth()), pad(d.getUTCMonth() + 1),
pad(d.getUTCDate()), pad(d.getUTCDate()),
pad(d.getUTCHours()), pad(d.getUTCHours()),
pad(d.getUTCMinutes()), pad(d.getUTCMinutes()),