pretty 0 seconds, not 0 second
This commit is contained in:
parent
5e8161f248
commit
445d7a5cfd
|
|
@ -150,7 +150,7 @@ module.exports = {
|
|||
else if (seconds / secondsPerMinute >= 1)
|
||||
return sign + Math.round(seconds / secondsPerMinute) + " minute" + ((
|
||||
Math.round(seconds / secondsPerMinute) > 1) ? "s" : "");
|
||||
else return sign + seconds + " second" + ((seconds > 1) ? "s" : "");
|
||||
else return sign + seconds + " second" + ((seconds > 1 || seconds === 0) ? "s" : "");
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue