* [bug#63574] fix the issues of story count.

This commit is contained in:
wangzemei
2025-06-23 16:03:12 +08:00
parent 24d44e58b9
commit 94f4d7f32e
2 changed files with 0 additions and 2 deletions
@@ -32,7 +32,6 @@ class count_of_changed_story extends baseCalc
$executionStartDate = new DateTime($row->executionStartDate);
$executionEndDate = new DateTime($row->executionEndDate);
$executionStartDate = $executionStartDate->modify('-1 day');
$executionEndDate = $executionEndDate->modify('+1 day');
$changedDate = new DateTime($row->changedDate);
if(!empty($row->executionStartDate) && !empty($row->executionEndDate) && ($changedDate < $executionStartDate || $changedDate > $executionEndDate)) return false;
@@ -33,7 +33,6 @@ class scale_of_changed_story extends baseCalc
$executionStartDate = new DateTime($row->executionStartDate);
$executionEndDate = new DateTime($row->executionEndDate);
$executionStartDate = $executionStartDate->modify('-1 day');
$executionEndDate = $executionEndDate->modify('+1 day');
$changedDate = new DateTime($row->changedDate);
if(empty($row->changedDate) || $row->status == 'changing' || $row->status == 'reviewing') return false;