diff options
author | Determinant <[email protected]> | 2019-01-31 18:06:05 -0500 |
---|---|---|
committer | Determinant <[email protected]> | 2019-01-31 18:06:05 -0500 |
commit | ec404a971bca523dde755687bad7999f55af1c65 (patch) | |
tree | 91a3d53c886cd2fcccee1ff1241439c3725b8616 /src | |
parent | 374fb92c58c503287dab35c985060916b7c86617 (diff) |
...
Diffstat (limited to 'src')
-rwxr-xr-x | src/App.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |