Skip to content

Cldr Lists version 2.12.1

Choose a tag to compare

@kipcole9 kipcole9 released this 19 Feb 09:37
· 4 commits to main since this release

Enhancements

  • Adds :treat_middle_as_end boolean option to Cldr.List.to_string/3 and Cldr.List.intersperse/3. When true, the :end part of a list pattern is ignored when formatting a list. This can be a convenient way to format a list omitting the trailing " and " pattern for the last element.