Skip to content
/ tz Public

Go packages for working with the IANA time zone database

License

Notifications You must be signed in to change notification settings

go-tz/tz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go packages for the IANA time zone database

This repository contains a Go module and packages for working with the IANA time zone database (tzdb), about which Wikipedia says:

The tz database is a collaborative compilation of information about the world's time zones and rules for observing daylight saving time, primarily intended for use with computer programs and operating systems. Paul Eggert has been its editor and maintainer since 2005, with the organizational backing of ICANN. The tz database is also known as tzdata, the zoneinfo database or the IANA time zone database (after the Internet Assigned Numbers Authority), and occasionally as the Olson database, referring to the founding contributor, Arthur David Olson.

API stability

At this time, there is no guarantee of API stability. The packages in this repository are still under development and may change significantly in the future.

Roadmap

Resources

The following pages are part of eggert/tz and conveniently hosted by IANA:

You can also find a copy of those pages in the tzdb/docs directory of this repository.

License

Unless otherwise specified, all files in this repository are licensed under the MIT license.

  • The IANA time zone database is in the public domain. This project redistributed portions of the database and contains derived work in the form of documentation which heavily quotes the documentation of the database.
  • tzdb/docs contains unmodified copies of documentation from the tzdb release 2024b, which is in the public domain.
  • Package tzdb/tzif implements the Time Zone Information Format (TZif) as specified in RFC 8536 authored by Arthur David Olson, Paul Eggert and Kenneth Murchison. It includes an unmodified copy of the RFC for documentation purposes and also contains samples from the RFC as part of the test suite. Additionally, comments and documentation in the code are derived from the RFC where appropriate.

We have made every effort to ensure that this project complies with applicable copyright laws and licensing terms. If you believe there are any issues or oversights regarding the licensing or use of any content in this repository, we would greatly appreciate it if you could open a GitHub issue to bring it to our attention.