Compatibility package for time https://github.com/phadej/time-compat

Version on this page:
LTS Haskell 15.5:1.9.3
Stackage Nightly 2020-03-28:1.9.3
Latest on Hackage:1.9.3

See all snapshots time-compat appears in

BSD-3-Clause licensed by Ashley Yakeley
Maintained by Oleg Grenrus

Module documentation for

This version can be pinned in stack with:time-compat-,4254

This packages tries to compat as much of time features as possible.


  • Difference type ParseTime and FormatTime instances are missing.

  • Formatting varies depending on underlying time version

  • dayFractionToTimeOfDay on extreme values