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();