Closed sryze closed 4 years ago
Thanks @sryze - This fix looks good. Sorry for the delays. We've been super busy. I'll take a look at releasing this tomorrow.
Thanks, good to hear this :+1:
@lincolnthree are you going to make a new release with this fix?
This patch fixes the issue with negative duration values in Russian localization (#182) and adds more tests for different forms of Russian time units.
I just added a call to
Math.abs()
to makeformatUnrounded()
behave likeformat()
, wheregetQuantityRounded()
drops the sign as well.