PackageTrack
Sign in Get early access

timezone

Time zone databases and time zone aware `DateTime`.

0.11.1 1000K downloads/mo #69 most downloaded on pub.dev dart-lang/labs

What this package is like to depend on

Last release 1 months ago

29 Jun 2026

Ships fairly regularly

a new release about every 5 months

Most releases are documented

notes for 32 of 40 stable releases

Nothing withdrawn

no release was ever pulled

12 years old

45 releases · first in 2014

2 releases in the last 12 months

see the full history below

Release timeline

45 releases · Oct 2014 to Jun 2026
2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 45
  1. 0.11.1 29 Jun 2026
    Release notes
    • Specify Etc/UTC as the default timezone (replaces UTC)
    Open source →
  2. 0.11.0 07 Jan 2026
    Release notes

    Merge into dart-lang/labs monorepo.

    Open source →
  3. 0.10.1 28 Apr 2025
    Release notes
    • Time zone database updated to 2025b. For your convenience here is the announcement for 2025a, 2025b.
    • Added a native getter for TZDateTime. Thanks @klondikedragon!
    Open source →
  4. 0.10.0 05 Nov 2024
    Release notes
    • Update time zone-updating script to use rearguard.zi.
    • Convert browser.dart to use package:http instead of dart:html for HTTP requests.
    • Time zone database updated to 2024b. For your convenience here is the announcement for 2024b.
    Open source →
  5. 0.9.4 01 Jul 2024
    Release notes
    • Support cross-isolate issues by overriding hashCode and operator == on class Location. (see #147)
    • Fix incorrect DST transition. (see #166)
    Open source →
  6. 0.9.3 23 Apr 2024
    Release notes
    • Time zone database updated to 2024a. For your convenience here are the announcements for 2023d, 2024a.
    Open source →
  7. 0.9.2 20 Apr 2023
    Release notes
    • Time zone database updated to 2023c. For your convenience here are the announcements for 2023a, 2023b, 2023c.
    Open source →
  8. 0.9.1 27 Dec 2022
    Release notes
    • Time zone database updated to 2022g. For your convenience here are the announcements for 2022d, 2022e, 2022f, 2022g.
    Open source →
  9. 0.9.0 14 Sep 2022
    Release notes
    • Support orderingKey on pub/sub's Message type.
    • Support the latest version ^15.0.0 of the googleapis package.
    Open source →
    Release notes
    • Time zone database updated to 2022c. For your convenience here are the announcements for 2022a, 2022b, 2022c.
    • Removed named database files in lib/data (for example, lib/data/2021e.tzf). The only supported database files are all now named latest_*.
    Open source →
  10. 0.8.0 27 Aug 2021
    Release notes
    • Time zone database updated to 2021a. For your convenience here is the announcement for 2021a.
    • Time zone databases encoded with UTF-16 instead of base64.
    • Breaking change: Remove tool/encode.dart in favor of tool/encode_dart.dart.
    Open source →
  11. 0.7.0 29 Mar 2021
    Release notes
    • Breaking change: Change some of TimeZone's constructor parameters to be named instead of positional.
    • Breaking change: Rename TimeZone.abbr to TimeZone.abbreviation.
    • Deprecate LocationDatabase.isEmpty in favor of LocationDatabase.isInitialized.
    • Removed new usage from examples and fixed a typo in the TZDateTime.from example.
    • Migrate to Dart's null safety language feature.
    Open source →
  12. 0.7.0-nullsafety.0 12 Jan 2021 pre-release

    Nothing published for this version

  13. 0.6.1 12 Jan 2021
    Release notes
    • Updated the get script (now encode_tzf) to work with a zoneinfo directory (as created by the zic tool) as input. Fetching and compiling this directory is now done by a bash script (refresh.sh) using standard tools.

      This allows pointing the tool at a custom zoneinfo directory.

    Open source →
  14. 0.5.9 22 Oct 2020
    Release notes
    • Time zone database updated to 2020d. For your convenience here is the announcement for 2020d.
    Open source →
  15. 0.5.7 25 Apr 2020
    Release notes
    • Time zone database updated to 2020a. For your convenience here is the announcement for 2020a.
    • Earlier null checking on some TZDateTime constructor arguments.
    • Many internal changes; should not affect API.
    Open source →
  16. 0.5.6 03 Dec 2019
    Release notes
    • Time zone database updated to 2019c. For your convenience here is the announcement for 2019c.
    • Dart-importable databases made available in lib/data. README.md has more details.
    Open source →
  17. 0.5.5 09 Sep 2019
    Release notes
    • Time zone database updated to 2019b. For your convenience here is the announcement for 2019b.
    • Convenience database symlinks added for convenience at
      • lib/data/latest.tzf
      • lib/data/latest_2015-2025.tzf
      • lib/data/latest_all.tzf
    Open source →
  18. 0.5.4 03 May 2019
    Release notes
    • TZDateTime.utc is accessible before time zone database is initialized (thanks @jsmarr).
    • Fix dropping microseconds when creating TZDateTime (thanks @jsmarr).
    Open source →
  19. 0.5.3 19 Apr 2019
    Release notes
    • Time zone database updated to 2019a. For your convenience here is the announcement for 2019a.
    Open source →
  20. 0.5.2 24 Jan 2019
    Release notes
    • Time zone database updated to 2018i. For your convenience here are the announcements for 2018h and 2018i.
    Open source →
  21. 0.5.1 09 Nov 2018
    Release notes
    • Time zone database updated to 2018g. For your convenience here are the announcements for 2018d, 2018e, 2018f, and 2018g.
    Open source →
  22. 0.5.0 09 Nov 2018
    Release notes
    • Support a package-directory-free environment. In Dart 1.19, timezone is now compatible with pub get --no-packages-dir.
    • Breaking: Remove initializeTimeZoneSync method; it is incompatible with the async method for resolving package URIs.
    • Fix all strong mode errors (thanks @har79).
    • Add microsecond support (thanks @har79).
    • Improve interaction between TZDateTime and native DateTime (thanks @har79).
    • Fix TimeZone's == (thanks @har79).
    • Many new dartdoc comments (thanks @har79).
    • Fix for calling new TZDateTime.from() with a non-UTC DateTime object (thanks @tomaine2002).
    • Support Dart 2.
    • Time zone database updated to 2018c. For your convenience here are the announcements for 2015c, 2015d, 2015e, 2015f, 2015g, 2016a, 2016b, 2016c, 2016d, 2016e, 2016f, 2016g, 2016h, 2016i, 2017a, 2017b, 2017c, and 2018c.
    Open source →
  23. 0.5.0-dev-3 12 Jul 2018 pre-release

    Nothing published for this version

  24. 0.5.0-dev-2 18 Oct 2016 pre-release

    Nothing published for this version

  25. 0.5.0-dev-1 17 Oct 2016 pre-release

    Nothing published for this version

  26. 0.5.0-dev 07 Oct 2016 pre-release

    Nothing published for this version

  27. 0.4.3 23 Feb 2016
    Release notes
    • Fix Dart 1.14 incompatibility further.
    Open source →
  28. 0.4.2 23 Feb 2016
    Release notes
    • Bad pub publish. Ignore.
    Open source →
  29. 0.4.1 30 Jan 2016
    Release notes
    • Fix Dart 1.14 incompatibility with packageRoot returning null.
    Open source →
  30. 0.4.0 24 Nov 2015
    Release notes
    • Remove usage of tuple package.
    • Upgrade unittest package to test.
    • Fix database URL for "latest" database.
    • Add tool/dartfmt for formatting source.
    Open source →
  31. 0.3.1 26 Apr 2015
    Release notes
    • generate_data_subset script is removed. It will be available as a separate package.
    Open source →
  32. 0.3.0 08 Apr 2015
    Release notes
    • Time zone database updated to 2015b.
    • Removed local location detection heuristics (didn't worked properly). Local location is initialized with UTC location by default, use setLocalLocation to change local location.
    • Time zone database format is changed; data is aligned.
    Open source →
  33. 0.2.5 06 Jan 2015
    Release notes
    • Fixed bug with String formatting (invalid offsets for minutes).
    Open source →
  34. 0.2.4 25 Dec 2014
    Release notes
    • Fixed bug with Calendar-type constructor.
    Open source →
  35. 0.2.3 15 Dec 2014
    Release notes
    • Added initializeTimeZoneSync function for standalone environments.
    • Fixed bug with script path on Windows.
    Open source →
  36. 0.2.2 15 Dec 2014
    Release notes
    • TimeZone database updated to "2014j".
    • "args" and "path" moved from dev dependencies to dependencies.
    Open source →
  37. 0.2.2+1 15 Dec 2014

    Nothing published for this version

  38. 0.2.2+2 15 Dec 2014

    Nothing published for this version

  39. 0.2.1 24 Oct 2014
    Release notes
    • tzfile library renamed to tzdata.
    • Added zone1970.tab parser to tzdata library.
    • Removed package:collection dependency.
    Open source →
  40. 0.2.0 20 Oct 2014

    Nothing published for this version

  41. 0.1.2 19 Oct 2014

    Nothing published for this version

  42. 0.1.1 18 Oct 2014

    Nothing published for this version

  43. 0.1.0 17 Oct 2014

    Nothing published for this version

  44. 0.0.2 16 Oct 2014

    Nothing published for this version

  45. 0.0.1 15 Oct 2014

    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