Skip to content

Commit 7b88306

Browse files
authored
Merge pull request #5249 from pnrgenc/SER-1464
[SER-1464] Date cannot be selected by manual
2 parents 2454d44 + 752d9fe commit 7b88306

File tree

1 file changed

+2
-2
lines changed
  • frontend/express/public/javascripts/countly/vue/components

1 file changed

+2
-2
lines changed

frontend/express/public/javascripts/countly/vue/components/date.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -487,8 +487,8 @@
487487
}
488488
else {
489489
if (this.inBetweenInput.parsed && this.inBetweenInput.parsed.length) {
490-
this.inBetweenInput.parsed[0] = moment(this.inBetweenInput.parsed[0]).startOf("day");
491-
this.inBetweenInput.parsed[1] = moment(this.inBetweenInput.parsed[1]).endOf("day");
490+
this.inBetweenInput.parsed[0] = moment(this.inBetweenInput.parsed[0]).startOf("day").toDate();
491+
this.inBetweenInput.parsed[1] = moment(this.inBetweenInput.parsed[1]).endOf("day").toDate();
492492
}
493493
inputObj = this.inBetweenInput.parsed;
494494
}

0 commit comments

Comments
 (0)