| Portability | unportable |
|---|---|
| Stability | unstable |
| Maintainer | pbrisbin@gmail.com |
| Safe Haskell | Safe-Infered |
Data.Time.Format.Human
Description
Prints a as a few seconds ago or 3 days ago and
similar.
UTCTime
- humanReadableTime :: UTCTime -> IO String
- humanReadableTime' :: UTCTime -> UTCTime -> String
Documentation
humanReadableTime :: UTCTime -> IO StringSource
Based on humanReadableTimeDiff found in
https://github.com/snoyberg/haskellers/blob/master/Haskellers.hs,
https://github.com/snoyberg/haskellers/blob/master/LICENSE
A pure form, takes the current time as an argument