forked from rDrama/rDrama
1
0
Fork 0

fix "52yr ago" bug

master
justcool393 2022-10-15 23:57:55 -07:00
parent 78fffccef4
commit be055d1d82
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ def sort_objects(sort, objects, cls, include_shadowbanned=False):
return objects.order_by(cls.downvotes - cls.upvotes, cls.created_utc.desc())
def make_age_string(compare:Optional[int]) -> str:
if not compare: return "never"
if not compare or compare < 1577865600: return ""
age = int(time.time()) - compare
if age < 60: