mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-14 08:11:20 +00:00
Support 'month' as well as 'monthly'.
This commit is contained in:
@@ -73,6 +73,7 @@ class Date
|
||||
case 'weekly':
|
||||
$currentEnd->addWeek()->subDay();
|
||||
break;
|
||||
case 'month':
|
||||
case 'monthly':
|
||||
$currentEnd->addMonth()->subDay();
|
||||
break;
|
||||
@@ -110,6 +111,7 @@ class Date
|
||||
case 'weekly':
|
||||
$date->startOfWeek();
|
||||
break;
|
||||
case 'month':
|
||||
case 'monthly':
|
||||
$date->startOfMonth();
|
||||
break;
|
||||
|
Reference in New Issue
Block a user