Skip to content

Commit d1ce88c

Browse files
committed
ACP2E-866: Incorrect Dashboard YTD values
1 parent a8543fe commit d1ce88c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/code/Magento/Reports/Model/ResourceModel/Order/Collection.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,6 @@ public function getDateRange($range, $customStart, $customEnd, $returnObjects =
463463
$startMonth = isset($startMonthDay[0]) ? (int)$startMonthDay[0] : 1;
464464
$startDay = isset($startMonthDay[1]) ? (int)$startMonthDay[1] : 1;
465465
$dateStart->setDate($dateStart->format('Y'), $startMonth, $startDay);
466-
$dateStart->modify('-1 year');
467466
if ($range == '2y') {
468467
$dateStart->modify('-1 year');
469468
}

0 commit comments

Comments
 (0)