gfd
This commit is contained in:
parent
c4fde2145e
commit
cc03c7b09d
2 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue