BSD-3-Clause licensed by Yann Esposito
Maintained by [email protected]
This version can be pinned in stack with:human-readable-duration-0.2.0.3@sha256:5fdfcc16a234fdc13bb73edbb2dfc738c02d64a30d68cb99bdc897c40950e2b0,1556

Module documentation for 0.2.0.3

Depends on 1 package(full list with versions):

This is a minimal Haskell library to display duration.

let duration = 2 * ms + 3 * oneSecond + 2 * minute + 33*day + 2*year
humanReadableDuration duration
-- will return: "2 years 33 days 2 min 3s 2ms"
getYears duration
-- will return 2
getDays duration
-- will return 763
getMs duration
-- will return 65923323002