mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-11-22 21:50: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:
|
if second_diff < 3600:
|
||||||
return str(int(second_diff / 60)) + " minutes"
|
return str(int(second_diff / 60)) + " minutes"
|
||||||
if second_diff < 7200:
|
if second_diff < 7200:
|
||||||
return "an hour ago"
|
return "an hour"
|
||||||
if second_diff < 86400:
|
if second_diff < 86400:
|
||||||
return str(int(second_diff / 3600)) + " hours"
|
return str(int(second_diff / 3600)) + " hours"
|
||||||
if day_diff == 1:
|
if day_diff == 1:
|
||||||
|
Loading…
Reference in New Issue
Block a user