Browse Source

fix round -> ceil #11

pull/1/head
sanke 6 years ago
parent
commit
ebf982b747
  1. 2
      src/target.ts

2
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();

Loading…
Cancel
Save