From ec404a971bca523dde755687bad7999f55af1c65 Mon Sep 17 00:00:00 2001 From: Determinant Date: Thu, 31 Jan 2019 18:06:05 -0500 Subject: ... --- src/App.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/App.js') 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) -- cgit v1.2.3