Package Info

ghc-human-readable-duration


Provide duration helper


Development/Libraries/Haskell

This is a minimal Haskell library to display duration.

> let duration = 2 * ms + 3 * oneSecond + 2 * minute + 33day + 2year > 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.


License: BSD-3-Clause
URL: https://hackage.haskell.org/package/human-readable-duration

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.2.0.3-bp150.2.4 info GA Release 2018-08-01 15
  • AArch64
  • ghc-human-readable-duration
  • ghc-human-readable-duration-devel
0.2.0.3-bp150.2.6 info GA Release 2018-07-30 15
  • ppc64le
  • x86-64
  • ghc-human-readable-duration
  • ghc-human-readable-duration-devel