This commit is contained in:
Aevann1 2022-01-30 22:43:04 +02:00
parent c4fde2145e
commit cc03c7b09d
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -37,7 +37,7 @@ class Badge(Base):
@property
@lazy
def text(self):
if self.name == "Agendaposter":
if self.name == "Chud":
ti = self.user.agendaposter_expires_utc
if ti: text = self.badge.description + " until " + datetime.utcfromtimestamp(ti).strftime('%Y-%m-%d %H:%M:%S')
else: text = self.badge.description + " permanently"