The tz package

[Tags:apache, library]

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.7), deepseq (>=1.1 && <2), template-haskell (>=2.6 && <2.11), time (>=1.2 && <1.7), tzdata (==0.1.*), vector (>=0.9 && <0.12) [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 Mon May 2 13:07:32 UTC 2016 by MihalyBarasz
Distributions LTSHaskell:, NixOS:
Downloads 2017 total (40 in the last 30 days)
1 []
Status Docs available [build log]
Last success reported on 2016-05-02 [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