elixir-cldr / cldr_units

Unit formatting (volume, area, length, ...) functions for the Common Locale Data Repository (CLDR)
Other
16 stars 13 forks source link

:locale option is passed to Cldr.Number.to_string #14

Closed Zurga closed 4 years ago

Zurga commented 4 years ago

I created this pull request because the format: :spellout option was not passed on to Cldr.Number.to_string. This resulted in the default locale being used when spelling out numbers.

kipcole9 commented 4 years ago

Thanks for the PR, much appreciated!

Zurga commented 4 years ago

You are welcome!

kipcole9 commented 4 years ago

Published ex_cldr_units version 3.1.1. The changelog entry is:

Bug Fixes