PackageTrack
Sign in Get early access

chrono-tz

TimeZone implementations for chrono from the IANA database

0.10.4 144M downloads/mo #630 most downloaded on crates.io chronotope/chrono-tz

What this package is like to depend on

Last release 1 years ago

11 Jul 2025

Ships fairly regularly

a new release about every 3 months

Rarely documented

notes for 7 of 35 stable releases

1 version withdrawn

withdrawn after publishing

10 years old

36 releases · first in 2016

0 releases in the last 12 months

see the full history below

Release timeline

36 releases · Oct 2016 to Jul 2025
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 36
  1. 0.10.4 11 Jul 2025
    Release notes

    What's Changed

    Open source →
  2. 0.10.3 24 Mar 2025
    Release notes

    What's Changed

    Open source →
  3. 0.10.2 23 Mar 2025 withdrawn
    Release notes

    What's Changed

    • Add gap_info_from_local_datetime to get information about a gap by @acrrd in #188
    • Bump to 0.10.2 with 2025b by @djc in #194
    Open source →
  4. 0.10.1 16 Jan 2025
    Release notes

    What's Changed

    Open source →
  5. 0.10.0 09 Sep 2024
    Release notes

    TZDB version 2024b (2024-09-05).

    Changes

    • Make OffsetName::abbreviation return an Option.
      This reflects that numeric values such as +11 are no longer encoded in the upstream TZDB as abbreviations (#185).

    TZDB 2024b

    The 2024b release of the tz code and data is available.

    This release is prompted by the accumulated weight of many non-urgent changes to both code and data. It changes one timestamp abbreviation, for the long-obsolete System V setting TZ='MET'; see below. Otherwise, the timestamps affected by this release all predate April 2008, so you can skip this release if your application uses only tzdata and does not use older timestamps.

    This release contains the following changes:

    Briefly:

    Improve historical data for Mexico, Mongolia, and Portugal.
    System V names are now obsolescent.
    The main data form now uses %z.
    The code now conforms to RFC 8536 for early timestamps.
    Support POSIX.1-2024, which removes asctime_r and ctime_r.
    Assume POSIX.2-1992 or later for shell scripts.
    SUPPORT_C89 now defaults to 1.

    Changes to past timestamps

    Asia/Choibalsan is now an alias for Asia/Ulaanbaatar rather than being a separate Zone with differing behavior before April 2008. This seems better given our wildly conflicting information about Mongolia's time zone history. (Thanks to Heitor David Pinto.)

    Historical transitions for Mexico have been updated based on official Mexican decrees. The affected timestamps occur during the years 1921-1927, 1931, 1945, 1949-1970, and 1981-1997. The affected zones are America/Bahia_Banderas, America/Cancun, America/Chihuahua, America/Ciudad_Juarez, America/Hermosillo, America/Mazatlan, America/Merida, America/Mexico_City, America/Monterrey, America/Ojinaga, and America/Tijuana. (Thanks to Heitor David Pinto.)

    Historical transitions for Portugal, represented by Europe/Lisbon, Atlantic/Azores, and Atlantic/Madeira, have been updated based on a close reading of old Portuguese legislation, replacing previous data mainly originating from Whitman and Shanks & Pottenger. These changes affect a few transitions in 1917-1921, 1924, and 1940 throughout these regions by a few hours or days, and various timestamps between 1977 and 1993 depending on the region. In particular, the Azores and Madeira did not observe DST from 1977 to 1981. Additionally, the adoption of standard zonal time in former Portuguese colonies have been adjusted: Africa/Maputo in 1909, and Asia/Dili by 22 minutes at the start of 1912. (Thanks to Tim Parenti.)

    Changes to past tm_isdst flags

    The period from 1966-04-03 through 1966-10-02 in Portugal is now modeled as DST, to more closely reflect how contemporaneous changes in law entered into force.

    Changes to data

    Names present only for compatibility with UNIX System V (last released in the 1990s) have been moved to 'backward'. These names, which for post-1970 timestamps mostly just duplicate data of geographical names, were confusing downstream uses. Names moved to 'backward' are now links to geographical names. This affects behavior for TZ='EET' for some pre-1981 timestamps, for TZ='CET' for some pre-1947 timestamps, and for TZ='WET' for some pre-1996 timestamps. Also, TZ='MET' now behaves like TZ='CET' and so uses the abbreviation "CET" rather than "MET". Those needing the previous TZDB behavior, which does not match any real-world clocks, can find the old entries in 'backzone'. (Problem reported by Justin Grant.)

    The main source files' time zone abbreviations now use %z, supported by zic since release 2015f and used in vanguard form since release 2022b. For example, America/Sao_Paulo now contains the zone continuation line "-3:00 Brazil %z", which is less error prone than the old "-3:00 Brazil -03/-02". This does not change the represented data: the generated TZif files are unchanged. Rearguard form still avoids %z, to support obsolescent parsers.

    Asia/Almaty has been removed from zonenow.tab as it now agrees with Asia/Tashkent for future timestamps, due to Kazakhstan's 2024-02-29 time zone change. Similarly, America/Scoresbysund has been removed, as it now agrees with America/Nuuk due to its 2024-03-31 time zone change.

    Open source →
  6. 0.9.0 05 Apr 2024

    Nothing published for this version

  7. 0.8.6 12 Feb 2024

    Nothing published for this version

  8. 0.8.5 29 Dec 2023

    Nothing published for this version

  9. 0.8.4 30 Oct 2023

    Nothing published for this version

  10. 0.8.3 28 Jun 2023

    Nothing published for this version

  11. 0.8.2 07 Apr 2023

    Nothing published for this version

  12. 0.8.1 29 Nov 2022

    Nothing published for this version

  13. 0.8.0 02 Nov 2022

    Nothing published for this version

  14. 0.7.0 19 Oct 2022

    Nothing published for this version

  15. 0.6.3 25 Jul 2022

    Nothing published for this version

  16. 0.6.2 24 Jul 2022

    Nothing published for this version

  17. 0.6.1 07 Dec 2021

    Nothing published for this version

  18. 0.6.0 20 Sep 2021

    Nothing published for this version

  19. 0.5.3 29 Aug 2020

    Nothing published for this version

  20. 0.5.2 10 Jun 2020

    Nothing published for this version

  21. 0.5.1 19 Mar 2019

    Nothing published for this version

  22. 0.5.0 05 Jul 2018
    Release notes

    What's Changed

    Open source →
    Release notes

    What's Changed

    Open source →
  23. 0.4.1 25 Jun 2017
    Release notes

    What's Changed

    • parse-zoneinfo: don't package large test/example files by @djc in #210
    Open source →
  24. 0.4.0 25 Jun 2017
    Release notes

    What's Changed

    • Correctly handle transitions specified in UTC by @robertbastian in #204
    • parse-zoneinfo: replace rule parser with simple state machine by @djc in #172
    • Prepare releases by @djc in #209
    Open source →
  25. 0.3.2 06 Apr 2017

    Nothing published for this version

  26. 0.3.1 22 Mar 2017

    Nothing published for this version

  27. 0.3.0 11 Feb 2017

    Nothing published for this version

  28. 0.2.5 11 Feb 2017

    Nothing published for this version

  29. 0.2.4 27 Nov 2016

    Nothing published for this version

  30. 0.2.3 05 Nov 2016

    Nothing published for this version

  31. 0.2.2 23 Oct 2016

    Nothing published for this version

  32. 0.2.1 22 Oct 2016

    Nothing published for this version

  33. 0.2.0 22 Oct 2016

    Nothing published for this version

  34. 0.1.2 09 Oct 2016

    Nothing published for this version

  35. 0.1.1 08 Oct 2016

    Nothing published for this version

  36. 0.1.0 08 Oct 2016

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive