Closed SamGrayson closed 1 month ago
First off, thank you for the awesome library. It's making our UoM conversions much easier.
Just a small issue we've noticed here: https://github.com/harrydehix/simple-units/blob/58ddee457f799c4b202f8bbc14bf7822a017cbf7/src/units/groups/mass.ts#L12-L18
long: { sg: ["%0gram", "%0gramme"], pl: ["%0grams", "%0grammes"], }
This is causing issues down the line when trying to leverage long names for generated UoMs.
pl: ['kilogram', 'kilograms']
I haven't had a chance yet to check out the other groups.
Thank you very much, I'll fix this today!
Should be fixed now!
First off, thank you for the awesome library. It's making our UoM conversions much easier.
Just a small issue we've noticed here: https://github.com/harrydehix/simple-units/blob/58ddee457f799c4b202f8bbc14bf7822a017cbf7/src/units/groups/mass.ts#L12-L18
This is causing issues down the line when trying to leverage long names for generated UoMs.
pl: ['kilogram', 'kilograms']
I haven't had a chance yet to check out the other groups.