diff --git a/module/metric/calc/system/scale/count_of_changed_story.php b/module/metric/calc/system/scale/count_of_changed_story.php index a252ed7afc..d5a0c48d79 100644 --- a/module/metric/calc/system/scale/count_of_changed_story.php +++ b/module/metric/calc/system/scale/count_of_changed_story.php @@ -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; diff --git a/module/metric/calc/system/scale/scale_of_changed_story.php b/module/metric/calc/system/scale/scale_of_changed_story.php index 8b337888ff..22b9a6272a 100644 --- a/module/metric/calc/system/scale/scale_of_changed_story.php +++ b/module/metric/calc/system/scale/scale_of_changed_story.php @@ -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;