removed debug output
This commit is contained in:
parent
e4f51183fb
commit
096c15cdcf
@ -5,7 +5,6 @@ import Data.Time.Clock
|
||||
import Data.Time.Calendar
|
||||
import System.Environment
|
||||
import Data.Monoid
|
||||
import Debug.Trace
|
||||
import Network.Mail.Mime hiding (mailFrom, mailTo)
|
||||
import Options.Applicative
|
||||
|
||||
@ -58,7 +57,7 @@ main = do
|
||||
|
||||
|
||||
filterToday :: Day -> (Day, Mail) -> Bool
|
||||
filterToday d (d2,_) = trace (show d <> "==" <> show d2 <> "?") day1 == day2 && m1 == m2
|
||||
filterToday d (d2,_) = day1 == day2 && m1 == m2
|
||||
where
|
||||
(_,m1,day1) = toGregorian d
|
||||
(_,m2,day2) = toGregorian d2
|
||||
|
@ -10,7 +10,6 @@ import Data.Time.Calendar (Day, fromGregorian)
|
||||
import Data.Time.Format (parseTimeM, defaultTimeLocale)
|
||||
import Data.Monoid
|
||||
import Data.Maybe
|
||||
import Debug.Trace
|
||||
import Network.Mail.Mime
|
||||
import qualified Data.Text as T
|
||||
import qualified Data.Text.Lazy as TL
|
||||
|
Loading…
Reference in New Issue
Block a user