Skip to content

Releases: phensley/cldr-engine

v0.11.3

03 Apr 14:46
Compare
Choose a tag to compare

Added

  • Fast, simple CLDR data downloader.
  • Decimal number format options new style 'scientific'.
  • Decimal api supports scientific formatting to string and parts.
  • Depend on tslib

Fixed/Changed

  • Removed dependency on NPM cldr-data package.
  • Upgraded cldr 35.
  • Parts formatting changed the minus sign type from 'minus' to 'sign'
  • Removed timezone fromWall methods until stable
  • Decimal division simplification.

v0.10.2

27 Mar 15:45
Compare
Choose a tag to compare

Added

  • Added context transform data to schema
  • Options for date formatting now have an optional context: ContextType property
  • Date, interval, raw pattern, and relative time formatters now use context transforms
  • Added dateField method to Calendars api
  • Added timeZoneInfo to Calendars api, includes the exemplar city for each zone
  • New package: @phensley/timezone provides timezone calculations over the full range of tzdb data.

Fixed/Changed

  • Revised calendar fields api (e.g. eras(), dayPeriods(), etc) to accept options
  • Calendar field methods now accept context: ContextType option
  • Renamed RelativeTimeWidthType to DateFieldWidthType
  • Moved displayName to top-level of DateFields schema
  • vuint encode/decode now support 64-bit integers
  • zigzag encoder now supports 64-bit signed integers
  • binary search is now more general, letting caller control direction of match
  • Calendar.timeZoneOffset now has the correct sign
  • tzdb updated to 2019a
  • Rebuilt metazone and timezone subsystem to use new timezone package
  • Removed deprecated base-100 and bitarray encoders from cldr-utils package

v0.9.1

22 Mar 00:19
Compare
Choose a tag to compare

Added

  • Added CLDR.General.parseLanguageTag method

v0.9.0

21 Mar 13:39
Compare
Choose a tag to compare

See CHANGELOG.md for details

v0.8.17

21 Mar 13:53
Compare
Choose a tag to compare

Added

  • Export LanguageIdType

v0.8.16

21 Mar 13:53
Compare
Choose a tag to compare

Added

  • Added CLDR.General.getLanguageDisplayName

Fixed/Changed

  • Converted CLDR to an interface