Upstream EvanHahn/HumanizeDuration.js state of the touched files before 13ba5bab06
This commit is contained in:
1 parent
117fd38eeb
commit
194562d9da
2 files changed
+1
-16
No files matched your search
@@ -1382,9 +1382,7 @@
|
||||
var languageWord = language[unitName];
|
||||
var word;
|
||||
if (typeof languageWord === "function") {
|
||||
// Pluralize on the rendered count: `maxDecimalPoints` may truncate 1.5 to
|
||||
// "1", and the word must agree with what is shown.
|
||||
word = languageWord(normalizedUnitCount);
|
||||
word = languageWord(unitCount);
|
||||
} else {
|
||||
word = languageWord;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user