guests cannot be old

This commit is contained in:
bleizi 2024-01-11 14:38:43 +01:00
parent 81017fc393
commit 5dc5f56ae4
No known key found for this signature in database
GPG Key ID: D46D7E3364433208
1 changed files with 3 additions and 3 deletions

View File

@ -77,9 +77,9 @@ def get_row_class(record):
c += " table-info" c += " table-info"
elif record.note.balance < 0: elif record.note.balance < 0:
c += " table-danger" c += " table-danger"
#MODE VIEUXCON=ON #MODE VIEUXCON=ON
if (datetime.datetime.utcnow().timestamp() - record.note.created_at.timestamp()) > 3600*24*365*3: if (datetime.datetime.utcnow().timestamp() - record.note.created_at.timestamp()) > 3600*24*365*3:
c += " font-weight-bold" c += " font-weight-bold"
return c return c