Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Display time values in a friendly way

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 Data
Octocat-spinner-32 tests
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 Setup.hs
Octocat-spinner-32 friendly-time.cabal
README.md

Friendly time

Friendly time formats (so far, just one).

Human

Fuzzy time in relation to now.

humanReadableTime :: UTCDate -> IO String
-- ==> "just now", "1 minute ago", "wednesday", etc
Something went wrong with that request. Please try again.