From 60d1b3d157985032eb6f35c4c235786a1067e992 Mon Sep 17 00:00:00 2001
From: Julia Friesel <julia.friesel@gmail.com>
Date: Tue, 2 Apr 2019 19:03:43 +0200
Subject: [PATCH] Use noon instead of midnight to get date range

---
 components/chart/chart.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/chart/chart.js b/components/chart/chart.js
index 3b9b224c..df0b52a8 100644
--- a/components/chart/chart.js
+++ b/components/chart/chart.js
@@ -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)
-- 
GitLab