gentooboontoo / js-quantities

JavaScript library for quantity calculation and unit conversion
http://gentooboontoo.github.io/js-quantities/
MIT License
396 stars 102 forks source link

kWh unit #38

Closed FrEaKmAn closed 9 years ago

FrEaKmAn commented 9 years ago

Hi

While testing I discovered that I cannot parse unit kWh. kW*h works just fine, but nobody is using this format. Is there a way to add this or have some kind of aliases?

gentooboontoo commented 9 years ago

Fixed by 13741679. Thank you for reporting. It's a temporary workaround until a better parsing method for these cases.