mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-11-26 15:30:18 +00:00
Fixed typo
This commit is contained in:
parent
2b43436f56
commit
ecc9e84bc2
@ -321,7 +321,7 @@ def pretty_date(time=False):
|
||||
if second_diff < 3600:
|
||||
return str(int(second_diff / 60)) + " minutes"
|
||||
if second_diff < 7200:
|
||||
return "an hour ago"
|
||||
return "an hour"
|
||||
if second_diff < 86400:
|
||||
return str(int(second_diff / 3600)) + " hours"
|
||||
if day_diff == 1:
|
||||
|
Loading…
Reference in New Issue
Block a user