timezone-detect: Haskell bindings for the zone-detect C library

[ data, foreign, gpl, library, time ] [ Propose Tags ]

Please see the README on GitHub at https://github.com/lfborjas/timezone-detect#readme


[Skip to Readme]
Versions [RSS] [faq] 0.1.0.0, 0.2.0.0, 0.2.1.0, 0.2.2.0, 0.3.0.0, 0.3.0.1
Change log ChangeLog.md
Dependencies base (>=4.7 && <4.14) [details]
License GPL-2.0-only
Author Luis Borjas Reyes
Maintainer timezone-detect@lfborjas.com
Category Data, Foreign
Home page https://github.com/lfborjas/timezone-detect#readme
Bug tracker https://github.com/lfborjas/timezone-detect/issues
Source repo head: git clone https://github.com/lfborjas/timezone-detect
Uploaded by lfborjas at 2020-08-30T01:35:23Z
Distributions NixOS:0.3.0.1
Downloads 449 total (20 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2020-08-30 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Candidates


Readme for timezone-detect-0.1.0.0

[back to package description]

TimezoneDetect

build

Haskell bindings to the excellent ZoneDetect library.

Usage

You'll need timezone database files to work with this library, see instructions in the original repository.

Once you have those files in hand, you'll be able to get a timezone from a given latitude and longitude:

> lookupTimezone "./test/tz_db/timezone21.bin" 40.7831 (-73.9712)
Right "America/New_York"