diff --git a/lib/Internal/Insert.hs b/lib/Internal/Insert.hs index 199ebcb..42340c0 100644 --- a/lib/Internal/Insert.hs +++ b/lib/Internal/Insert.hs @@ -54,7 +54,7 @@ cronPatternMatches , cronDay = d } x = - yMaybe (y' - 2000) y && mdMaybe m' m && mdMaybe d' d && wdMaybe (dayOfWeek_ x) w + yMaybe y' y && mdMaybe m' m && mdMaybe d' d && wdMaybe (dayOfWeek_ x) w where testMaybe = maybe True yMaybe z = testMaybe (mdyPatternMatches (fromIntegral z))