From 5e542749aac4db239f19b200bc54bc0cc7d2cf0a Mon Sep 17 00:00:00 2001 From: s-nakajima Date: Thu, 18 Jan 2024 22:24:42 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=E3=82=A2=E3=83=BC=E3=82=AB=E3=82=A4?= =?UTF-8?q?=E3=83=96=E3=81=A7=E7=B5=9E=E3=82=8A=E8=BE=BC=E3=82=93=E3=81=A0?= =?UTF-8?q?=E9=9A=9B=E3=81=AB=E6=9C=88=E6=9C=AB=E3=81=AE=E8=A8=98=E4=BA=8B?= =?UTF-8?q?=E3=81=8C=E8=A1=A8=E7=A4=BA=E3=81=95=E3=82=8C=E3=81=AA=E3=81=84?= =?UTF-8?q?=E3=83=90=E3=82=B0=E4=BF=AE=E6=AD=A3=20https://github.com/NetCo?= =?UTF-8?q?mmons3/NetCommons3/issues/1719?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Controller/BlogEntriesController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controller/BlogEntriesController.php b/Controller/BlogEntriesController.php index e02dedb..6f3eaa8 100644 --- a/Controller/BlogEntriesController.php +++ b/Controller/BlogEntriesController.php @@ -193,7 +193,7 @@ public function year_month() { $this->set('filterDropDownLabel', __d('blogs', '%d-%d', $year, $month)); $first = $this->_filter['yearMonth'] . '-1'; - $last = date('Y-m-t', strtotime($first)); + $last = date('Y-m-t', strtotime($first)) . ' 23:59:59'; // 期間をサーバタイムゾーンに変換する $netCommonsTime = new NetCommonsTime();