aboutsummaryrefslogtreecommitdiff
path: root/src/Notification.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Notification.hs')
-rw-r--r--src/Notification.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Notification.hs b/src/Notification.hs
index e5abe45..18cd260 100644
--- a/src/Notification.hs
+++ b/src/Notification.hs
@@ -1,7 +1,7 @@
{-# LANGUAGE OverloadedStrings #-}
module Notification
- ( todayAndNextWeek
+ ( notifyTodayAndNextWeek
) where
import qualified Data.Text as T
@@ -14,8 +14,8 @@ import Model.Birthdate (Birthdate, filterBirthdayAt, filterBirthdayBetween)
import Model.Mail (mailSubject, mailBody)
import Model.Config
-todayAndNextWeek :: [Birthdate] -> Config -> IO ()
-todayAndNextWeek birthdates config = do
+notifyTodayAndNextWeek :: [Birthdate] -> Config -> IO ()
+notifyTodayAndNextWeek birthdates config = do
currentDate <- getCurrentDate
birthdaysToday <- filterBirthdaysToday birthdates
birthdaysNextWeek <- filterBirthdaysNextWeek birthdates config