A pure Haskell parser and renderer for binary Olson timezone files


Version on this page:0.1.6
LTS Haskell 21.22:0.2.1
Stackage Nightly 2023-11-29:0.2.1
Latest on Hackage:0.2.1

See all snapshots timezone-olson appears in

BSD-3-Clause licensed by Yitzchak Gale
Maintained by yitz@sefer.org
This version can be pinned in stack with:timezone-olson-0.1.6@sha256:7aa241c5cbd538e784f4e57e8734340444209355a4291e95f8d61f003caec07a,3010

Module documentation for 0.1.6

  • Data
    • Data.Time
      • Data.Time.LocalTime
        • Data.Time.LocalTime.TimeZone
          • Data.Time.LocalTime.TimeZone.Olson
            • Data.Time.LocalTime.TimeZone.Olson.Parse
            • Data.Time.LocalTime.TimeZone.Olson.Render
            • Data.Time.LocalTime.TimeZone.Olson.Types

A parser and renderer for binary Olson timezone files whose format is specified by the tzfile(5) man page on Unix-like systems. For more information about this format, see http://www.iana.org/time-zones/repository/tz-link.html. Functions are provided for converting the parsed data into TimeZoneSeries objects from the timezone-series package. On many platforms, binary Olson timezone files suitable for use with this package are available in the directory usrshare/zoneinfo and its subdirectories on your computer.