Use noon instead of midnight to get date range

This commit is contained in:
Julia Friesel
2019-04-02 19:03:43 +02:00
parent 3940e3b4dd
commit 60d1b3d157
+1 -1
View File
@@ -214,7 +214,7 @@ function LoadingMoreView(props) {
function getTodayAndPreviousDays(n) {
const today = new Date()
today.setHours(0)
today.setHours(12)
today.setMinutes(0)
today.setSeconds(0)
today.setMilliseconds(0)