Changed log_stub format to increment the UTC month number because UTC is 0 - 11 not 1 - 12 month numbers

This commit is contained in:
Jeff Huff 2011-08-30 21:04:43 -07:00
parent 679b4e5c37
commit e99ee3c75e
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()),