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

Parsing unit pairs, eg. 8lbs 6oz or 6'4" #64

Open nathan-muir opened 8 years ago

nathan-muir commented 8 years ago

In the source, there's a comment about parsing USA/Imperial style values, like 8lbs 6oz or 6'4"

However, if we try new Qty('6\' 6"'), it fails with the errorQtyError {name: "QtyError", message: "Unit not recognized"}

So, is this a bug? or, a intended feature of js-quantities? Or, just an old/ outdated comment?

kawazoe commented 1 year ago

I hoped to use this library for this feature as well, since they are mentioned in the comments, but it doesn't appear to be supported in the specs as well.

Can we get an update from the maintainers? Is this meant to be supported?