aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/App.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/App.js b/src/App.js
index 1d708f9..0b0d6d5 100755
--- a/src/App.js
+++ b/src/App.js
@@ -106,8 +106,8 @@ class Dashboard extends React.Component {
alert("Please choose a valid time range.");
return;
}
- let start = this.state.startDate.toDate();
- let end = this.state.endDate.toDate();
+ let start = this.state.startDate.startOf('day').toDate();
+ let end = this.state.endDate.startOf('day').toDate();
console.log(start, end);
let event_pms = [];
for (let id in this.cached.calendars)