We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 459eb88 commit d0d804bCopy full SHA for d0d804b
index.js
@@ -72,7 +72,7 @@ var DailyRotateFile = module.exports = function (options) {
72
this.label = options.label || null;
73
this.prettyPrint = options.prettyPrint || false;
74
this.showLevel = options.showLevel === undefined ? true : options.showLevel;
75
- this.timestamp = options.timestamp || true;
+ this.timestamp = options.timestamp === undefined ? true : options.timestamp;
76
this.datePattern = options.datePattern ? options.datePattern : '.yyyy-MM-dd';
77
this.depth = options.depth || null;
78
this.eol = options.eol || os.EOL;
0 commit comments