BSD-3-Clause licensed by Liyang HU, Ashley Yakeley
Maintained by Fumiaki Kinoshita
This version can be pinned in stack with:thyme-0.4@sha256:d9ee21ee0c335d29956fdc7bb4a85cc3375c781252478241748b222b3062fd78,5164

thyme

CI Hackage

A faster date and time library based on time.

  • Trades speed for slightly less precision: micro- (μs; 10-6) versus pico-seconds (ps; 10-12).
  • Better type-safety for date and time arithmetic.
  • Ships with a selection of Iso’s and Lens’s for lens.

Building

Library

cabal build

Haddock

cabal haddock

Changes

unreleased

0.4

  • Supported GHC 9 and older
  • Changed the type of mkUTCTime :: Day -> DiffTime -> UTCTime to mkUTCTime :: Year -> Month -> DayOfMonth -> Hour -> Minute -> Double -> UTCTime. Use the UTCTime pattern synonym instead if needed.
  • Miscellaneous API additions and refactors