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 2026Releases
latest 45-
0.11.129 Jun 2026 -
0.11.007 Jan 2026 -
0.10.128 Apr 2025 -
0.10.005 Nov 2024Release notes
Open source →- Update time zone-updating script to use
rearguard.zi. - Convert
browser.dartto usepackage:httpinstead ofdart:htmlfor HTTP requests. - Time zone database updated to 2024b. For your convenience here is the announcement for 2024b.
- Update time zone-updating script to use
-
0.9.401 Jul 2024Release notes
Open source →- Support cross-isolate issues by overriding
hashCodeandoperator ==on classLocation. (see #147) - Fix incorrect DST transition. (see #166)
- Support cross-isolate issues by overriding
-
0.9.323 Apr 2024 -
0.9.220 Apr 2023 -
0.9.127 Dec 2022 -
0.9.014 Sep 2022Release notes
Open source →- Support
orderingKeyon pub/sub'sMessagetype. - Support the latest version
^15.0.0of thegoogleapispackage.
- Support
-
0.8.027 Aug 2021Release notes
Open source →- 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.dartin favor oftool/encode_dart.dart.
-
0.7.029 Mar 2021Release notes
Open source →- Breaking change: Change some of TimeZone's constructor parameters to be named instead of positional.
- Breaking change: Rename
TimeZone.abbrtoTimeZone.abbreviation. - Deprecate
LocationDatabase.isEmptyin favor ofLocationDatabase.isInitialized. - Removed
newusage from examples and fixed a typo in theTZDateTime.fromexample. - Migrate to Dart's null safety language feature.
-
0.7.0-nullsafety.012 Jan 2021 pre-releaseNothing published for this version
-
0.6.112 Jan 2021Release notes
Open source →-
Updated the
getscript (nowencode_tzf) to work with azoneinfodirectory (as created by thezictool) 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
zoneinfodirectory.
-
-
0.5.922 Oct 2020Release notes
Open source →- Time zone database updated to 2020d. For your convenience here is the announcement for 2020d.
-
0.5.725 Apr 2020Release notes
Open source →- 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.
-
0.5.603 Dec 2019Release notes
Open source →- 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.
-
0.5.509 Sep 2019Release notes
Open source →- 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.tzflib/data/latest_2015-2025.tzflib/data/latest_all.tzf
-
0.5.403 May 2019Release notes
Open source →- TZDateTime.utc is accessible before time zone database is initialized (thanks @jsmarr).
- Fix dropping microseconds when creating TZDateTime (thanks @jsmarr).
-
0.5.319 Apr 2019Release notes
Open source →- Time zone database updated to 2019a. For your convenience here is the announcement for 2019a.
-
0.5.224 Jan 2019 -
0.5.109 Nov 2018 -
0.5.009 Nov 2018Release notes
Open source →- 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.
- Support a package-directory-free environment. In Dart 1.19, timezone is now
compatible with
-
0.5.0-dev-312 Jul 2018 pre-releaseNothing published for this version
-
0.5.0-dev-218 Oct 2016 pre-releaseNothing published for this version
-
0.5.0-dev-117 Oct 2016 pre-releaseNothing published for this version
-
0.5.0-dev07 Oct 2016 pre-releaseNothing published for this version
-
0.4.323 Feb 2016 -
0.4.223 Feb 2016 -
0.4.130 Jan 2016 -
0.4.024 Nov 2015Release notes
Open source →- Remove usage of tuple package.
- Upgrade unittest package to test.
- Fix database URL for "latest" database.
- Add tool/dartfmt for formatting source.
-
0.3.126 Apr 2015Release notes
Open source →generate_data_subsetscript is removed. It will be available as a separate package.
-
0.3.008 Apr 2015Release notes
Open source →- 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
setLocalLocationto change local location. - Time zone database format is changed; data is aligned.
-
0.2.506 Jan 2015 -
0.2.425 Dec 2014 -
0.2.315 Dec 2014Release notes
Open source →- Added
initializeTimeZoneSyncfunction for standalone environments. - Fixed bug with script path on Windows.
- Added
-
0.2.215 Dec 2014Release notes
Open source →- TimeZone database updated to "2014j".
- "args" and "path" moved from dev dependencies to dependencies.
-
0.2.2+115 Dec 2014Nothing published for this version
-
0.2.2+215 Dec 2014Nothing published for this version
-
0.2.124 Oct 2014Release notes
Open source →tzfilelibrary renamed totzdata.- Added
zone1970.tabparser totzdatalibrary. - Removed
package:collectiondependency.
-
0.2.020 Oct 2014Nothing published for this version
-
0.1.219 Oct 2014Nothing published for this version
-
0.1.118 Oct 2014Nothing published for this version
-
0.1.017 Oct 2014Nothing published for this version
-
0.0.216 Oct 2014Nothing published for this version
-
0.0.115 Oct 2014Nothing published for this version