Use dateSkeletons/timeSkeletons for DateTimeFormat Lengths #1243
Labels
A-data
Area: Data coverage or quality
A-design
Area: Architecture or design
A-performance
Area: Performance (CPU, Memory)
C-datetime
Component: datetime, calendars, time zones
CLDR 40 introduces
dateSkeletons
andtimeSkeletons
- https://cldr.unicode.org/index/downloads/cldr-40If I'm not mistaken that means that our length bag selection would, instead of taking
datePatterns
andtimePatterns
would take date skeleton or time skeleton, select the best pattern for it (can we assume there's always a perfect match in skeleton-patterns map?).I'm not sure how urgent it is and whether
datePatterns
/timePatterns
is planned to be deprecated or what the value proposition here is for us (seems like more computing and we need to pull in more data).Alternatively, we could do it in the build step and pull CLDR data for skeletons and lengths, and store ICU4X data still with resolved patterns like we do for now, which seems optimal for small chunks of data in length bag scenario, but I assume there must be a reason CLDR is moving away from it.
The text was updated successfully, but these errors were encountered: