This commit is contained in:
Borzutzki Robert 2024-11-25 23:07:35 +01:00
parent 4a793d4018
commit 066e0857eb

View File

@ -69,7 +69,7 @@ def init_monitor():
drawblack.text((4, 30), 'Oder ' + str(round(duration.days / 30,2)) + " Monate", font = font14, fill = 0)
drawblack.text((4, 46), 'Oder ' + str(duration.days * 24) + " Stunden", font = font14, fill = 0)
drawblack.text((4, 62), 'Oder ' + str(round(duration.days / 365,2)) + " Jahre", font = font14, fill = 0)
drawblack.text((4, 78), "Bis du am " + str(ruhestand.strftime("%A %B %d.%m.%Y")), font = font14, fill = 0)
drawblack.text((4, 77), "Bis du am " + str(ruhestand.strftime("%A %B %d.%m.%Y")), font = font14, fill = 0)
epd.display(epd.getbuffer(HBlackimage), epd.getbuffer(HRYimage))