-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Bindings to the date parsing from Git. -- -- This library implements a simple, pure binding onto the date parsing -- code from git. Why? Because it was the only reasonable implementation -- of a generic date parser I could find. @package git-date @version 0.3.0 module Data.Time.Git -- | Parse a date/time string and return Just a Unix timestamp. Return -- Nothing if the string could not be interpreted. If no timezone is in -- the string, the local timezone is used. approxidate :: String -> Maybe UTCTime -- | Parse a date/time string and return Just a Unix timestamp. Return -- Nothing if the string could not be interpreted. If no timezone is in -- the string, the local timezone is used. This is in IO so that you can -- ask it to parse strings like "now" and "yesterday". approxidateIO :: (Unexceptional m) => String -> m (Maybe UTCTime)