Changelog for timezone-detect-0.3.0.1
Changelog for timezone-detect
v0.3.0.1 (2021-03-14)
- Adds property tests.
- Updates base to work with newer versions of Haskell.
v0.3.0.0 (2020-09-02)
Breaking Changes!
- Introduce
openTimeZoneDatabaseandcloseTimeZoneDatabaseto hew closer to the underlying library's intended usage. AndwithTimeZoneDatabaseto manage the opening and closing of the TZ file around an IO computation with it. - Changes the signature of
lookupTimeZoneNameto take a timezone database, not a file, same withtimeAtPointToUTC. Introduces*FromFilevariants that work with the path to the DB file and manage the opening/closing.
v0.2.2.0 (2020-08-30)
- Explicitly import
MonadFailandfail; hide thefailfromPrelude. - Introduces
timeInTimeZoneToUTC, for when the timezone name is already available. - Minor updates to help build with older Haskell versions.
- Update github actions to build on said older haskells!
TimeZoneNameis now an alias forFilePath.
v0.2.1.0 (2020-08-30)
- Depend on
base >= 4.9to ensureMonadFailandliftIOare included.
v0.2.0.0 (2020-08-30)
- Introduces dependencies on
time,timezone-seriesandtimezone-olson. - Breaking change: this library is now aware of
Data.Time,TimezoneNamehas been changed toTimeZoneNamefor consistency, and theDetectmodule is now a submodule ofData.Time.LocalTime.TimeZone. - The function to find a timezone name is now more general (instead of
Either) expects an instance ofMonadFail, likeparseTimeMinData.Timedoes, and is now namedlookupTimeZoneNamefor clarity. - Introduces
timeAtPointToUTCto determine the UTC instant represented by a local time in a latitude and longitude: uses the timezone-series and timezone-olson packages to reflect any daylight savings or other historical circumstances that may affect the timezone offset for the timezone in effect around the given geographic point.
v0.1.0.0 (2020-08-29)
- Bundles the C code for ZoneDetect
- Exposes the
lookupTimezonefunction to obtain the standardized name of a timezone, given a database file, latitude and longitude.