This commit is contained in:
Lukas Schulz 2020-12-20 21:29:24 +01:00
parent 1a8589cfa2
commit 78cc0bf74f

View file

@ -223,7 +223,7 @@ def drawClock():
time.sleep(0.4) time.sleep(0.4)
canvas = Image.new('RGB', (64,128), color = 'black') canvas = Image.new('RGB', (64,128), color = 'black')
clock_text = ImageDraw.Draw(canvas) clock_text = ImageDraw.Draw(canvas)
clock_text.text((20,0), datetime.strftime(), font = clock_font, align = "center") clock_text.text((20,0), datetime.strftime("%H:%M:%S"), font = clock_font, align = "center")
showImage(canvas, 32, 0) showImage(canvas, 32, 0)