"mi" -> "m" for minute

This commit is contained in:
jesopo 2020-04-09 21:05:51 +01:00
parent 74146f20bd
commit 00730a5384

View file

@ -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)