The tz package

[Tags:apache, benchmark, library, test]

The goal of this package is to provide a library that can read time zone info files (aka. Olson files), and does time zone conversions in a pure and efficient way.

We also provide platform-independent and/or compiled-in access to the standard Time Zone Dabase by the means of the companion tzdata package

The package is currently in an alpha phase, I'm still experimenting with different ideas wrt. scope/API/implementation/etc. All comments are welcome!

[Skip to Readme]


Dependencies base (==4.*), binary (>=0.5 && <0.9), bytestring (>=0.9 && <0.11), containers (==0.5.*), data-default (>=0.5 && <0.8), deepseq (>=1.1 && <2), template-haskell (>=2.6 && <2.12), time (>=1.2 && <1.7), tzdata (==0.1.*), vector (>=0.9 && <0.13) [details]
License Apache-2.0
Author Mihaly Barasz, Gergely Risko
Maintainer Mihaly Barasz <>, Gergely Risko <>
Stability experimental
Category Data
Home page
Bug tracker
Source repository head: git clone
Uploaded Tue Jan 31 20:42:28 UTC 2017 by MihalyBarasz
Distributions LTSHaskell:, NixOS:, Stackage:
Downloads 2617 total (155 in the last 30 days)
1 []
Status Docs available [build log]
Last success reported on 2017-01-31 [all 1 reports]




template-haskellEnable the use of and export Template Haskell functionality. (Might need to disable this for cross-compiling.)EnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees

Readme for tz

Readme for tz-


Haskell library for:

  • Efficient time zone handling
  • Reading and parsing time zone info files (aka. Olson files)
  • Including time zone information in Haskell binaries in a platform-independent way