-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minutes are not rounded properly #14
Comments
oh interesting. Surely it's not expected, I'll try to have a look these days |
For anyone wondering, I managed to make it work by using the format
|
Hey, I'm now working on this and I'm wondering what should be the expected result, |
Thank you for taking care of this issue. According to the documentation:
So I guess the default option should be to round it to |
I've been working on better organising the code, now the logic to format seconds is on this repo https://github.com/en-japan-air/intl-unofficial-duration-unit-format |
I've published a fix for this in version |
First, let me thank you for providing such a useful component.
I stumbled upon a case where the minutes value is not rounded properly: It renders '1 hour 60 minutes' when it should be '2 hours 0 minutes'. Is that the expected behavior ?
The text was updated successfully, but these errors were encountered: