The latest version of human-readable-duration is 0.2.1.4-0.
human-readable-duration
Version 0.2.0.3 revision 0 uploaded by yogsototh.
Package meta
- Synopsis
- Provide duration helper
- Description
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
- Author
- Yann Esposito
- Bug reports
- n/a
- Category
- Time
- Copyright
- n/a
- Homepage
- http://github.com/yogsototh/human-readable-duration#readme
- Maintainer
- yann.esposito@gmail.com
- Package URL
- n/a
- Stability
- n/a