forked from rDrama/rDrama
1
0
Fork 0

fix bug with profile views (again) (again)

master
Aevann1 2022-06-22 18:45:34 +02:00
parent fef2e9b024
commit 4ba26b7872
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ class ViewerRelationship(Base):
return f"{days}d ago"
now = time.gmtime()
ctd = time.gmtime(age)
ctd = time.gmtime(self.last_view_utc)
months = now.tm_mon - ctd.tm_mon + 12 * (now.tm_year - ctd.tm_year)
if now.tm_mday < ctd.tm_mday: