[git fast commit] 04. Jul 2018 - 08:19:20

This commit is contained in:
atlantispc_sheppy
2018-07-04 08:19:20 +02:00
parent e0fc66fc69
commit 180b109aae
3 changed files with 6 additions and 3 deletions

View File

@@ -88,9 +88,9 @@ def bwp():
def countdown():
delta = datetime(year=2018,month=7,day=23,hour=8) - datetime.now()
delta = datetime(year=2018,month=7,day=23,hour=12) - datetime.now()
if delta.days > 1:
tmp = "{} von 150 Tagen bis Abgabe verbleibend".format(delta.days)
tmp = "{} days {} hours remaining".format(delta.days,int(delta.seconds/60/60))
else:
tmp = "{}h bis BC Abgabe".format(delta.hours)
tmp = hl_utils.color_panel(tmp,hl_utils.get_color(delta.days,0,180))