- Updated bundled timezone database to version 2020d
- Fix bug with
timezones/posixtimezones
in release mode - Fix issue with
fetchjsontimexones
for newer IANA timezone releases
- Updated bundled timezone database to version 2020a
- Fix issue preventing the library from being installable on Windows
- Updated bundled timezone database to version 2019c
- Fix support for latest Nim
- Updated bundled timezone database to version 2019b
This release is a nearly complete rewrite of the library. No attempt at backwards compatibility has been made, but the API should now be stable moving forwards.
Notable additions:
- A new
timezones/posixtimezones
module has been added for handling the system timezones on posix systems. - A new
timezones.TimezoneInfo
type has been added which represents a timezone + additional meta data. - Possibility of setting the default timezone db with
setDefaultTzDb
. - Updated bundled timezone database to version 2018i
countries(db, tzName)
andlocation(db, tzName)
no longer throws whentzName
doesn't exist in the database.- The name of static offset timezones have been changed to
±HH:MM:SS
or±HH:MM
(was:STATIC[±HH:MM:SS]
orSTATIC[±HH:MM]
). tz(tzName)
now accepts static offsets on the form±HH:MM:SS
or±HH:MM
as well as the special stringLOCAL
for the local timezone.Dms
andCoordinates
are now objects instead of tuples- Updated bundled timezone database to version 2018g