tz: Efficient time zone handling

[ apache, data, library ] [ Propose Tags ] [ Report a vulnerability ]

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 http://hackage.haskell.org/package/tzdata.

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]

Flags

Automatic Flags
NameDescriptionDefault
template-haskell

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

Enabled

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

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.0.0.1, 0.0.0.2, 0.0.0.3, 0.0.0.4, 0.0.0.5, 0.0.0.6, 0.0.0.7, 0.0.0.8, 0.0.0.9, 0.0.0.10, 0.1.0.0, 0.1.0.1, 0.1.1.0, 0.1.1.1, 0.1.2.0, 0.1.2.1, 0.1.3.0, 0.1.3.1, 0.1.3.2, 0.1.3.3, 0.1.3.4, 0.1.3.5, 0.1.3.6
Dependencies base (>=4 && <5), binary (>=0.5 && <0.11), bytestring (>=0.9 && <0.13), containers (>=0.5 && <0.8), data-default (>=0.5 && <0.9), deepseq (>=1.1 && <2), template-haskell (>=2.6 && <2.23), time (>=1.2 && <1.15), tzdata (>=0.1 && <0.3), vector (>=0.9 && <0.14) [details]
License Apache-2.0
Author Mihaly Barasz, Gergely Risko
Maintainer Janus Troelsen <ysangkok@gmail.com>
Revised Revision 8 made by janus at 2024-12-12T16:18:37Z
Category Data
Home page https://github.com/ysangkok/haskell-tz
Bug tracker https://github.com/ysangkok/haskell-tz/issues
Source repo head: git clone https://github.com/ysangkok/haskell-tz.git
Uploaded by janus at 2022-01-28T22:51:19Z
Distributions Arch:0.1.3.6, LTSHaskell:0.1.3.6, NixOS:0.1.3.6, Stackage:0.1.3.6
Reverse Dependencies 12 direct, 3 indirect [details]
Downloads 22611 total (59 in the last 30 days)
Rating 2.25 (votes: 2) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-01-28 [all 1 reports]

Readme for tz-0.1.3.6

[back to package description]

haskell-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