From 298a1d1fe0771b2209de0a012e114340b980768b Mon Sep 17 00:00:00 2001 From: sanke1 <22073083+sankerust@users.noreply.github.com> Date: Mon, 24 Sep 2018 14:20:31 +0300 Subject: [PATCH] Progress > 100% #11 (#12) --- src/target.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();