humanise_seconds now appends 's' to seconds correctly.
This commit is contained in:
parent
2243986816
commit
e5ab1ebfb6
@ -650,7 +650,7 @@ sub humanise_seconds {
|
||||
|
||||
if($seconds) {
|
||||
$result .= ", " if($result);
|
||||
$result .= $seconds.($frac ? ".$frac" : "").($short ? "s" : " second").(!$short && $mins > 1 ? "s" : "");
|
||||
$result .= $seconds.($frac ? ".$frac" : "").($short ? "s" : " second").(!$short && $seconds > 1 ? "s" : "");
|
||||
}
|
||||
|
||||
return $result;
|
||||
|
Loading…
x
Reference in New Issue
Block a user