Skip to content

Commit d0d804b

Browse files
authored
Allowing for options.timestamp to have false values
1 parent 459eb88 commit d0d804b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ var DailyRotateFile = module.exports = function (options) {
7272
this.label = options.label || null;
7373
this.prettyPrint = options.prettyPrint || false;
7474
this.showLevel = options.showLevel === undefined ? true : options.showLevel;
75-
this.timestamp = options.timestamp || true;
75+
this.timestamp = options.timestamp === undefined ? true : options.timestamp;
7676
this.datePattern = options.datePattern ? options.datePattern : '.yyyy-MM-dd';
7777
this.depth = options.depth || null;
7878
this.eol = options.eol || os.EOL;

0 commit comments

Comments
 (0)