aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2019-01-31 18:06:05 -0500
committerDeterminant <ted.sybil@gmail.com>2019-01-31 18:06:05 -0500
commitec404a971bca523dde755687bad7999f55af1c65 (patch)
tree91a3d53c886cd2fcccee1ff1241439c3725b8616 /src
parent374fb92c58c503287dab35c985060916b7c86617 (diff)
...
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)