Copyright | 2021 Dominik Schrempf |
---|---|
License | GPL-3.0-or-later |
Maintainer | dominik.schrempf@gmail.com |
Stability | unstable |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Creation date: Fri May 29 12:36:43 2020.
Synopsis
- renderDuration :: NominalDiffTime -> ByteString
- renderDurationS :: NominalDiffTime -> ByteString
- renderTime :: FormatTime t => t -> String
Documentation
renderDuration :: NominalDiffTime -> ByteString Source #
Adapted from System.ProgressBar.renderDuration of package terminal-progressbar-0.4.1.
renderDurationS :: NominalDiffTime -> ByteString Source #
Render duration in seconds.
renderTime :: FormatTime t => t -> String Source #
Render a time stamp.