From 9f2e73e511fcd638873e5a147c0b491975dcf7c6 Mon Sep 17 00:00:00 2001 From: shibafu Date: Tue, 12 Feb 2019 23:46:20 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=88=E3=83=83=E3=83=97=E3=83=9A=E3=83=BC?= =?UTF-8?q?=E3=82=B8=E3=81=AB=E8=A1=A8=E7=A4=BA=E3=81=95=E3=82=8C=E3=82=8B?= =?UTF-8?q?=E3=82=B0=E3=83=A9=E3=83=95=E3=81=8C=E5=B0=91=E3=81=AA=E3=81=99?= =?UTF-8?q?=E3=81=8E=E3=82=8B=E3=83=90=E3=82=B0=E3=81=AE=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=20(#94)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/HomeController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php index 9fc045b..95807a5 100644 --- a/app/Http/Controllers/HomeController.php +++ b/app/Http/Controllers/HomeController.php @@ -47,7 +47,7 @@ SQL $join->on('users.id', '=', 'ejaculations.user_id') ->where('users.accept_analytics', true); }) - ->where('ejaculated_date', '>=', now()->subDays(14)) + ->where('ejaculated_date', '>=', now()->subDays(30)) ->groupBy(DB::raw("to_char(ejaculated_date, 'YYYY/MM/DD')")) ->orderBy(DB::raw("to_char(ejaculated_date, 'YYYY/MM/DD')")) ->get()