mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Restore old behavior
This commit is contained in:
@@ -113,7 +113,7 @@ class WholePeriodChartGenerator
|
||||
protected function calculateStep(Carbon $start, Carbon $end): string
|
||||
{
|
||||
$step = '1D';
|
||||
$months = $start->diffInMonths($end);
|
||||
$months = $start->diffInMonths($end, true);
|
||||
if ($months > 3) {
|
||||
$step = '1W';
|
||||
}
|
||||
|
Reference in New Issue
Block a user