tz: Efficient time zone handling

[ apache, benchmark, data, library ] [ Propose Tags ]
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.14), time (>=1.2 && <1.9), tzdata (==0.1.*), vector (>=0.9 && <0.13) [details]
License Apache-2.0
Author Mihaly Barasz, Gergely Risko
Maintainer Mihaly Barasz <>, Gergely Risko <>
Category Data
Home page
Bug tracker
Source repo head: git clone
Uploaded by MihalyBarasz at Wed Mar 21 17:49:59 UTC 2018
Distributions LTSHaskell:, NixOS:, Stackage:, openSUSE:
Downloads 9293 total (93 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-03-21 [all 1 reports]
Hackage Matrix CI

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]





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


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-

[back to package description]


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