gfd
This commit is contained in:
parent
c4fde2145e
commit
cc03c7b09d
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
@ -37,7 +37,7 @@ class Badge(Base):
|
||||||
@property
|
@property
|
||||||
@lazy
|
@lazy
|
||||||
def text(self):
|
def text(self):
|
||||||
if self.name == "Agendaposter":
|
if self.name == "Chud":
|
||||||
ti = self.user.agendaposter_expires_utc
|
ti = self.user.agendaposter_expires_utc
|
||||||
if ti: text = self.badge.description + " until " + datetime.utcfromtimestamp(ti).strftime('%Y-%m-%d %H:%M:%S')
|
if ti: text = self.badge.description + " until " + datetime.utcfromtimestamp(ti).strftime('%Y-%m-%d %H:%M:%S')
|
||||||
else: text = self.badge.description + " permanently"
|
else: text = self.badge.description + " permanently"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue