Skip to content

Releases: xvrh/common_locale_data

v2.3.0

Choose a tag to compare

@xvrh xvrh released this 22 Jun 21:05
2b16ecf
  • 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

Minor fix to LICENSE and README.md files

Choose a tag to compare

@arjanmels arjanmels released this 25 Jan 10:42
19c0e5b

Minor fix to LICENSE and README.md files. (LICENSE still not compatible with pub.dev license scanner: the pana package does not yet include the Unicode v3 license.)

Reduced package size by using inheritance for country specific locales

Choose a tag to compare

@arjanmels arjanmels released this 24 Jan 18:30
b2a74ec
  • Implemented inheritance for country specific locales to reduce source code and binary file sizes

Added support for LocaleId's, Added access members for fields and Significant refactoring

Choose a tag to compare

@arjanmels arjanmels released this 18 Jan 15:39
  • Include support for LocaleId's and printing of all fields (currency, script, variants, subdivisions)
  • Add support for currency and subdivisions CLDR data
  • Improved compile times, resulting file size etc. by changing maps from CanonicalizedMap to
    const {}, etc.
  • NOTE: Lookups via the operator [] are still case-insensitive, however direct access to
    the languages.languages, territories.territories etc. members become case sensitive.
  • Added non-countries to territories map
  • Added static access members for languages, territories, scripts, variants and currencies.

v2.0.0

Choose a tag to compare

@xvrh xvrh released this 25 Nov 07:54
  • 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

v1.1.0

Choose a tag to compare

@xvrh xvrh released this 31 Mar 13:43
4f37bd3
  • Update to latest data of CLDR

v1.0.1

Choose a tag to compare

@xvrh xvrh released this 19 Jun 16:44
fe5596c
  • Add some API documentation