diff --git a/src/target.ts b/src/target.ts index e797c33..7d923d6 100644 --- a/src/target.ts +++ b/src/target.ts @@ -54,7 +54,7 @@ export class Target { public async export() { this.exportedRows = 0; - this.days = (this.to - this.from) / MS_IN_DAY; + this.days = Math.round((this.to - this.from) / MS_IN_DAY); this.day = 0; this.initCsvStream();