Provide duration helper https://gitlab.esy.fun/yogsototh/human-readable-duration#readme
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
Human Readable Duration
This is a minimal Haskell library to display duration.
It is mostly unsafe as it uses only
Strings (not even
> import Data.Duration > let duration = 2*ms + 3*oneSecond + 2*minute + 33*day + 2*year > humanReadableDuration duration "2 years 33 days 2 min 3s 2ms" > getYears duration 2 > getDays duration 763 > getMs duration 65923323002