Show if game has been played less than a minute

This commit is contained in:
Mathieu Comandon 2021-04-09 19:11:28 -07:00
parent 897d568a93
commit 5d3e28aaa9

View file

@ -142,6 +142,8 @@ def get_formatted_playtime(playtime):
formatted_time = " and ".join([text for text in (hours_text, minutes_text) if text])
if formatted_time:
return formatted_time
if playtime:
return "Less than a minute"
return NO_PLAYTIME