friendly-time-0.2.2: Print time information in friendly ways

Portabilityunportable
Stabilityunstable
Maintainerpbrisbin@gmail.com
Safe HaskellNone

Data.Time.Format.Human

Description

Prints a UTCTime as a few seconds ago or 3 days ago and similar.

Synopsis

Documentation

humanReadableTime'Source

Arguments

:: UTCTime

current time

-> UTCTime 
-> String 

A pure form, takes current time as an argument

humanReadableTimeI18N'Source

Arguments

:: HumanTimeLocale 
-> UTCTime

current time

-> UTCTime 
-> String 

I18N version of humanReadableTime'