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
Releases
latest 7-
2.3.022 Jun 2026Release notes
Open source →- 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
Release notes
Open source →- Add a high-level relative time ("timeago") formatter (
cld.relativeTime): formats aDateTime/Durationas 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-levelformatUnit(offset, unit)API andminUnit/maxUnitclamping, and supports long/short/narrow widths - Add week conventions (
cld.weekInfo): first day of the week, weekend days andminDaysInFirstWeek, with anisWeekend()helper
-
2.2.125 Jan 2025 -
2.2.024 Jan 2025Release notes
Open source →- Implemented inheritance for language specific locales to reduce source code and binary file sizes
-
2.0.025 Nov 2024Release notes
Open source →- 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
Release notes
Open source →- 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
-
1.1.031 Mar 2023 -
1.0.119 Jun 2022 -
1.0.019 Jun 2022