Skip to content

Commit 8641b01

Browse files
committed
MC-25260: A wrong behaviour of a chart order
1 parent c1eb6ec commit 8641b01

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
@@ -234,7 +234,7 @@ public function getChartUrl($directUrl = true)
234234
case '1y':
235235
case '2y':
236236
$d = $dateStart->format('Y-m');
237-
$dateStart->modify('+1 month');
237+
$dateStart->modify('first day of next month');
238238
break;
239239
default:
240240
$d = $dateStart->format('Y-m-d H:00');

0 commit comments

Comments
 (0)