From e99ee3c75e0899e209a511462024c73af421d6c8 Mon Sep 17 00:00:00 2001 From: Jeff Huff Date: Tue, 30 Aug 2011 21:04:43 -0700 Subject: [PATCH] Changed log_stub format to increment the UTC month number because UTC is 0 - 11 not 1 - 12 month numbers --- lib/log_stub.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/log_stub.js b/lib/log_stub.js index 8d1d00b..4f6079e 100644 --- a/lib/log_stub.js +++ b/lib/log_stub.js @@ -35,7 +35,7 @@ function format(level, name, args) { var fmtStr = args.shift(); var fmtArgs = [ d.getUTCFullYear(), - pad(d.getUTCMonth()), + pad(d.getUTCMonth() + 1), pad(d.getUTCDate()), pad(d.getUTCHours()), pad(d.getUTCMinutes()),