Merge pull request #9 from instanceof/master
The month is off in log messages because of UTC month numbers
This commit is contained in:
commit
1ec7a76b66
|
@ -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()),
|
||||||
|
|
Loading…
Reference in New Issue