PackageTrack
Sign in Get early access

common_locale_data

A type-safe and tree-shakable API to access translated common data (measurement units, date fields, country names etc...)

2.3.0 7.5K downloads/mo #3315 most downloaded on pub.dev xvrh/common_locale_data

What this package is like to depend on

Last release 2 months ago

22 Jun 2026

Ships fairly regularly

a new release about every 13 months

Nearly every release is documented

notes for 7 of 7 stable releases

Nothing withdrawn

no release was ever pulled

4 years old

7 releases · first in 2022

1 release in the last 12 months

see the full history below

Release timeline

7 releases · Jun 2022 to Jun 2026
2023 2024 2025 2026
Release Pre-release

Releases

latest 7
  1. 2.3.0 22 Jun 2026
    Release notes
    • Add a high-level relative time ("timeago") formatter (cld.relativeTime): formats a DateTime/Duration as e.g. "3 minutes ago", "in 2 days", "yesterday" or "last week". It is calendar-aware (day/month/year compared by calendar field), can render weekday names ("last Tuesday"), exposes a low-level formatUnit(offset, unit) API and minUnit/maxUnit clamping, and supports long/short/narrow widths
    • Add week conventions (cld.weekInfo): first day of the week, weekend days and minDaysInFirstWeek, with an isWeekend() helper
    Open source →
    Release notes
    • Add a high-level relative time ("timeago") formatter (cld.relativeTime): formats a DateTime/Duration as e.g. "3 minutes ago", "in 2 days", "yesterday" or "last week". It is calendar-aware (day/month/year compared by calendar field), can render weekday names ("last Tuesday"), exposes a low-level formatUnit(offset, unit) API and minUnit/maxUnit clamping, and supports long/short/narrow widths
    • Add week conventions (cld.weekInfo): first day of the week, weekend days and minDaysInFirstWeek, with an isWeekend() helper
    Open source →
  2. 2.2.1 25 Jan 2025
    Release notes
    • Minor fix to LICENSE and README.md files
    Open source →
  3. 2.2.0 24 Jan 2025
    Release notes
    • Implemented inheritance for language specific locales to reduce source code and binary file sizes
    Open source →
  4. 2.0.0 25 Nov 2024
    Release notes
    • Include all locales that are available from CLDR
    • Change the imports to improve compile times when only a limited number of locales is used (breaking change)
    • Add support for Timezones
    • Improved documentation
    • Update to CLDR 46
    Open source →
    Release notes
    • Include all locales that are available from CLDR
    • Change the imports to improve compile times when only a limited number of locales is used (breaking change)
    • Add support for Timezones
    • Improved documentation
    • Update to CLDR 46
    Open source →
  5. 1.1.0 31 Mar 2023
    Release notes
    • Update to latest data of CLDR
    Open source →
    Release notes
    • Update to latest data of CLDR
    Open source →
  6. 1.0.1 19 Jun 2022
    Release notes
    • Add some API documentation
    Open source →
    Release notes
    • Add some API documentation
    Open source →
  7. 1.0.0 19 Jun 2022
    Release notes
    • Initial version
    Open source →

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