fix: 불가침에서 '까지'는 해당 월을 포함하여야 함

This commit is contained in:
2022-10-02 15:55:31 +09:00
parent 45afb1c090
commit 74d310e113
@@ -112,7 +112,7 @@ class che_불가침수락 extends Command\NationCommand
$month = $this->arg['month'];
$currentMonth = $env['year'] * 12 + $env['month'] - 1;
$reqMonth = $year * 12 + $month - 1;
$reqMonth = $year * 12 + $month;
$nationID = $this->nation['nation'];
@@ -199,7 +199,7 @@ class che_불가침수락 extends Command\NationCommand
$destLogger = $this->destGeneralObj->getLogger();
$currentMonth = $env['year'] * 12 + $env['month'] - 1;
$reqMonth = $year * 12 + $month - 1;
$reqMonth = $year * 12 + $month;
$db->update(
'diplomacy',