All Versions
6
Latest Version
Avg Release Cycle
1 days
Latest Release
1553 days ago
Changelog History
Changelog History
-
v0.3.0.0 Changes
September 02, 2020Breaking Changes!
- Introduce
openTimeZoneDatabase
andcloseTimeZoneDatabase
to hew closer to
the underlying library's intended usage. AndwithTimeZoneDatabase
to manage the
opening and closing of the TZ file around an IO computation with it. - 🔄 Changes the signature of
lookupTimeZoneName
to take a timezone database, not
a file, same withtimeAtPointToUTC
. Introduces*FromFile
variants that
work with the path to the DB file and manage the opening/closing.
- Introduce
-
v0.2.2.0 Changes
August 30, 2020- Explicitly import
MonadFail
andfail
; hide thefail
fromPrelude
. - 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!
TimeZoneName
is now an alias forFilePath
.
- Explicitly import
-
v0.2.1.0 Changes
August 30, 2020- Depend on
base >= 4.9
to ensureMonadFail
andliftIO
are included.
- Depend on
-
v0.2.0.0 Changes
August 30, 2020- Introduces dependencies on
time
,timezone-series
andtimezone-olson
. - 💥 Breaking change: this library is now aware of
Data.Time
,TimezoneName
has been changed toTimeZoneName
for consistency, and theDetect
module 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
, likeparseTimeM
inData.Time
does, and is now namedlookupTimeZoneName
for clarity. - Introduces
timeAtPointToUTC
to 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.
- Introduces dependencies on
-
v0.1.0.1
August 30, 2020 -
v0.1.0.0 Changes
August 29, 2020- Bundles the C code for ZoneDetect
- 🔦 Exposes the
lookupTimezone
function to obtain the standardized name of a timezone, given a database file, latitude and longitude.