Skip to content

Commit a238dc5

Browse files
committed
MC-23228: A wrong behaviour of a chart order
1 parent db0d4a2 commit a238dc5

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Backend/Block/Dashboard

1 file changed

+1
-1
lines changed

app/code/Magento/Backend/Block/Dashboard/Graph.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ public function getChartUrl($directUrl = true)
237237
case '1y':
238238
case '2y':
239239
$d = $dateStart->format('Y-m');
240-
$dateStart->modify('+1 month');
240+
$dateStart->modify('first day of next month');
241241
break;
242242
default:
243243
$d = $dateStart->format('Y-m-d H:00');

0 commit comments

Comments
 (0)