- Update to tzdata 2025a
- Update dependencies
- Update to tzdata 2024b
- Update dependencies
- Officially support Go 1.23
- Update to tzdata 2024a
- Update dependencies
- Officially support Go 1.22
- Update to tzdata 2023d
- Update dependencies
- Officially support Go 1.21
- Update to tzdata 2023b
- Add a new
TZNames
array to show all possible timezones that may be returned by this library
- Fixed an issue where boundaries of small timezones (i.e.
Europe/Vatican
) would be oversimplified to have zero area and not be valid. - Various CI updates and optimizations
- Fix error handling on invalid timezones
- Add a
GetOneZone
function that returns a single valid timezone for the requested coordinates. This function is faster than the previousGetZone
function by 10-20% on average. - Performance optimizations
- Testing improvements
- Changelog cleanup
- Performance optimizations
- Testing/benchmarking improvements
- Update tzdata from 2022f to 2022g. Full changelog at https://github.com/evansiroky/timezone-boundary-builder/releases/tag/2022g
- Check all returned errors with
errcheck
- Continually check for tzdata freshness
- Update CI configuration
- Remove all geo-related types including
FeatureCollection
,Feature
,Geometry
- Remove unused
ErrNoZoneFound
- Remove all internal geo logic and use github.com/paulmach/orb (previously only used for generating map data)
- Improved performance through parallelization
- Update tzdata from 2022d to 2022f. Full changelog at https://github.com/evansiroky/timezone-boundary-builder/releases/tag/2022f
- Update dependencies
- Update tzdata from 2022b to 2022d. Full changelog at https://github.com/evansiroky/timezone-boundary-builder/releases/tag/2022d
- Update test coverage calculation
- Improve performance benchmarking
- Update from tzdata 2021c to 2022b. Full changelog at https://github.com/evansiroky/timezone-boundary-builder/releases/tag/2022b
This update changes several timezone borders.
This update also renames the
Europe/Kiev
timezone toEurope/Kyiv
. Note that this may be backwards incompatible depending on how you are using timezone data.
- Add a
MockTimeZone
which is the timezone always returned by theNewMockLocalTimeZone
client - Significant client loading speedup by optimizing parsing of geojson data
- Replace geojson dependency on js mapshaper with go orb package
- Add
NewMockLocalTimeZone
which always returns"America/Los_Angeles"
- Move shape file into an embedded gzip
- Update readme
- Update dependencies
- Fix godocs
- Refactor tzshapefilegen
- Fix go.mod and imports to use v2
- Defer loading logic on startup
- Use a faster json library
- Refactor library to be based around a client rather than exported functions
- Add the ability to update tzdata to the latest version without having to pass flags
- Add timezone tests for all cities with >1M population
- Optimizations
- Initial release of mostly https://github.com/ugjka/go-tz
- Updated to tzdata 2021c
- Updated documentation
- Additional tests