elixir-cldr / cldr_units

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

Cldr.Unit.convert documentation #5

Closed LostKobrakai closed 6 years ago

LostKobrakai commented 6 years ago

The documentation for Cldr.Unit.convert does show convert(unit_1, unit_2), which should propably be convert(unit, to_unit) like in the linked documentation of Cldr.Unit.Conversion.

kipcole9 commented 6 years ago

Good feedback, thank you. I will fix it over the weekend.

kipcole9 commented 6 years ago

Fixed and pubished v1.1.0 on hex.