`dateSplit` function is wrong
We have the dateSplit
function
It is in the IO
monad only because, upon failure, we use getCurrentTime
underneath. However, the function itself can return a Nothing
.
My proposition is to remove the IO
monad altogether: if parsing fails, just return a Nothing
.
It is not difficult to fix, however I create an issue because I don't want to break things in the 007 release.