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

Properties

Versions 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
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.12) [details]
License Apache-2.0
Author Mihaly Barasz, Gergely Risko
Maintainer Mihaly Barasz <klao@nilcons.com>, Gergely Risko <errge@nilcons.com>
Stability experimental
Category Data
Home page https://github.com/nilcons/haskell-tz
Bug tracker https://github.com/nilcons/haskell-tz/issues
Source repository head: git clone https://github.com/nilcons/haskell-tz.git
Uploaded Thu Aug 11 19:35:25 UTC 2016 by MihalyBarasz
Distributions LTSHaskell:0.1.2.0, NixOS:0.1.2.0, Tumbleweed:0.1.2.0
Downloads 2179 total (44 in the last 30 days)
Votes
1 []
Status Docs pending
Build status unknown [no reports yet]

Modules

  • Data
    • Time
      • Data.Time.Zones
        • Data.Time.Zones.All
        • Data.Time.Zones.Internal
          • Data.Time.Zones.Internal.CoerceTH
        • Data.Time.Zones.Read
        • Data.Time.Zones.TH
        • Data.Time.Zones.Types

Flags

NameDescriptionDefaultType
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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for tz

Readme for tz-0.1.2.0

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