From ad69011ac55ba798fafae0a52ff482e2c0eb4e39 Mon Sep 17 00:00:00 2001 From: James Cole Date: Mon, 17 Nov 2014 23:09:52 +0100 Subject: [PATCH] Support 'month' as well as 'monthly'. --- app/lib/FireflyIII/Shared/Toolkit/Date.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/lib/FireflyIII/Shared/Toolkit/Date.php b/app/lib/FireflyIII/Shared/Toolkit/Date.php index d5018ebf53..6a4f308afb 100644 --- a/app/lib/FireflyIII/Shared/Toolkit/Date.php +++ b/app/lib/FireflyIII/Shared/Toolkit/Date.php @@ -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;