Skip to content

Commit 560dfcc

Browse files
committed
test
1 parent 0e71299 commit 560dfcc

File tree

1 file changed

+2
-2
lines changed
  • app/code/core/Mage/Reports/Helper

1 file changed

+2
-2
lines changed

app/code/core/Mage/Reports/Helper/Data.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ public function getIntervals($dateFrom, $dateTo, $period = self::REPORT_PERIOD_T
6565
return $intervals;
6666
}
6767

68-
$dateStart = Carbon::now()->setTimeFromTimeString($dateFrom);
69-
$endDate = Carbon::now()->setTimeFromTimeString($dateTo);
68+
$dateStart = Carbon::now()->setTimeFromTimeString($dateFrom)->format('Y-m-d');
69+
$endDate = Carbon::now()->setTimeFromTimeString($dateTo)->format('Y-m-d');
7070

7171
switch ($period) {
7272
case self::REPORT_PERIOD_TYPE_DAY:

0 commit comments

Comments
 (0)