From 7d2e2945a17e6f0ccede2846caf071205a94f4b2 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Thu, 10 Aug 2023 19:08:21 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=97=B0=EA=B0=90=20=ED=95=9C=EB=B2=88?= =?UTF-8?q?=20=EB=8D=94=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/v_history.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hwe/v_history.php b/hwe/v_history.php index 1220ec45..ab07c294 100644 --- a/hwe/v_history.php +++ b/hwe/v_history.php @@ -28,11 +28,11 @@ if ($serverID !== UniqueConst::$serverID) { if($serverID === UniqueConst::$serverID){ [$currentYear, $currentMonth] = $gameStor->getValuesAsArray(['year', 'month']); if($f_year === null || $l_year === null){ - $f_year = $currentYear; - $f_month = $currentMonth - 1; + $yearMonth = Util::joinYearMonth($currentYear, $currentMonth) - 1; + [$f_year, $f_month] = Util::parseYearMonth($yearMonth); - $l_year = $currentYear; - $l_month = $currentMonth - 1; + $l_year = $f_year; + $l_month = $f_month; } } else{