mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-23 09:26:29 -06:00
Support 'month' as well as 'monthly'.
This commit is contained in:
parent
f8ea0f971d
commit
ad69011ac5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user