"mi" -> "m" for minute
This commit is contained in:
parent
74146f20bd
commit
00730a5384
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ def to_pretty_time(total_seconds: int, max_units: int=UNIT_MINIMUM,
|
||||||
if hours and len(out) < max_units:
|
if hours and len(out) < max_units:
|
||||||
out.append("%dh" % hours)
|
out.append("%dh" % hours)
|
||||||
if minutes and len(out) < max_units:
|
if minutes and len(out) < max_units:
|
||||||
out.append("%dmi" % minutes)
|
out.append("%dm" % minutes)
|
||||||
if seconds and len(out) < max_units:
|
if seconds and len(out) < max_units:
|
||||||
out.append("%ds" % seconds)
|
out.append("%ds" % seconds)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue