mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Make sure chart end point returns machine readable dates.
This commit is contained in:
parent
a55dd97d51
commit
0df00556db
@ -93,7 +93,7 @@ class AccountController extends Controller
|
|||||||
$previous = round(array_values($range)[0], 12);
|
$previous = round(array_values($range)[0], 12);
|
||||||
while ($currentStart <= $end) {
|
while ($currentStart <= $end) {
|
||||||
$format = $currentStart->format('Y-m-d');
|
$format = $currentStart->format('Y-m-d');
|
||||||
$label = $currentStart->formatLocalized((string)trans('config.month_and_day'));
|
$label = $currentStart->format('Y-m-d');
|
||||||
$balance = isset($range[$format]) ? round($range[$format], 12) : $previous;
|
$balance = isset($range[$format]) ? round($range[$format], 12) : $previous;
|
||||||
$previous = $balance;
|
$previous = $balance;
|
||||||
$currentStart->addDay();
|
$currentStart->addDay();
|
||||||
|
Loading…
Reference in New Issue
Block a user