-- 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.1 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 Integer -- | The same as approxidate, but returns a UTCTime instead of a raw -- timestamp. approxidateUTC :: String -> Maybe UTCTime