We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using significant digits and moment.duration.format, tokens that have zero value are rendered as 0.0 instead of 0.
moment.duration.format
0.0
0
This occurs on the HTC One emulator on BrowserStack, Android 4.4. I've not yet tested on an actual HTC device.
The text was updated successfully, but these errors were encountered:
Verified that issue is present on a physical HTC One device.
Sorry, something went wrong.
equal(moment.duration(10, "seconds").format("h[h] m[m] s[s]", { useSignificantDigits: true, trim: false }), "0h 0m 10s"); // Passes on HTC One equal(moment.duration(10, "seconds").format("h[h] m[m] s[s]", { useSignificantDigits: true, precision: 4, trim: false }), "0h 0m 10s"); // Fails on HTC One
9e6c6df
No branches or pull requests
When using significant digits and
moment.duration.format
, tokens that have zero value are rendered as0.0
instead of0
.This occurs on the HTC One emulator on BrowserStack, Android 4.4. I've not yet tested on an actual HTC device.
The text was updated successfully, but these errors were encountered: