Add date interval formats for dateStyle/timeStyle (short, medium, long, full)

Description

In ECMA-402, we allow support for dateStyle/timeStyle (in CLDR known as "dateFormatLength") with date interval format. However, CLDR does not provide data to map from a dateStyle/timeStyle to an interval pattern; it only allows going from a skeleton to an interval pattern.

The workaround currently used in V8 is to take the dateStyle/timeStyle pattern, convert it backwards to a skeleton, and then use that skeleton as input to DateIntervalFormat. This workaround solves our issue in the near term, but it has problems (see further discussion in ), so in the longer term, we would like for CLDR to add data to directly map from dateStyle/timeStyle to date interval patterns.

Activity

Show:

Details

Priority

Assignee

Reporter

Fix versions

Components

Labels

Created December 12, 2019 at 9:46 PM
Updated February 11, 2025 at 3:22 AM