js-quantities icon indicating copy to clipboard operation
js-quantities copied to clipboard

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

Open nathan-muir opened this issue 9 years ago • 1 comments

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?

nathan-muir avatar May 26 '16 08:05 nathan-muir

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?

kawazoe avatar Apr 04 '23 19:04 kawazoe