forked from MarseyWorld/MarseyWorld
fsdfsf
parent
2cf75fd006
commit
ee1f2e1e25
|
@ -39,7 +39,7 @@ class ModAction(Base):
|
||||||
@lazy
|
@lazy
|
||||||
def age_string(self):
|
def age_string(self):
|
||||||
|
|
||||||
age = self.age
|
age = int(time.time()) - self.created_utc
|
||||||
|
|
||||||
if age < 60:
|
if age < 60:
|
||||||
return "just now"
|
return "just now"
|
||||||
|
|
Loading…
Reference in New Issue