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