This commit is contained in:
Borzutzki Robert 2024-11-25 23:16:46 +01:00
parent ad09101f47
commit 96742e5b52

View File

@ -69,7 +69,7 @@ def init_monitor():
drawblack.text((4, 28), 'Oder ' + str(round(duration.days / 30,2)) + " Monate", font = font14, fill = 0) drawblack.text((4, 28), 'Oder ' + str(round(duration.days / 30,2)) + " Monate", font = font14, fill = 0)
drawblack.text((4, 43), 'Oder ' + str(duration.days * 24) + " Stunden", font = font14, fill = 0) drawblack.text((4, 43), 'Oder ' + str(duration.days * 24) + " Stunden", font = font14, fill = 0)
drawblack.text((4, 58), 'Oder ' + str(round(duration.days / 365,2)) + " Jahre", font = font14, fill = 0) drawblack.text((4, 58), 'Oder ' + str(round(duration.days / 365,2)) + " Jahre", font = font14, fill = 0)
drawblack.text((4, 73), "Bis du am: " + str(ruhestand.strftime("%d.%m.%Y")), font = font14, fill = 0) drawblack.text((4, 73), "Wirst du am: " + str(ruhestand.strftime("%d.%m.%Y")), font = font14, fill = 0)
drawblack.text((4, 88), "in den Ruhestand gehen!!!!!", font = font14, fill = 0) drawblack.text((4, 88), "in den Ruhestand gehen!!!!!", font = font14, fill = 0)
epd.display(epd.getbuffer(HBlackimage), epd.getbuffer(HRYimage)) epd.display(epd.getbuffer(HBlackimage), epd.getbuffer(HRYimage))