From 879e75928b6a3350b4b52acb1e475a9b4da0eff3 Mon Sep 17 00:00:00 2001 From: Borzutzki Robert Date: Mon, 25 Nov 2024 22:55:01 +0100 Subject: [PATCH] fix --- examples/date-diff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/date-diff.py b/examples/date-diff.py index 950503a..cde7eea 100644 --- a/examples/date-diff.py +++ b/examples/date-diff.py @@ -64,7 +64,7 @@ def init_monitor(): logging.info("1.Drawing on the Horizontal image...") drawblack.text((4, 0), 'Lieber Reinhold, auf dich warten noch: ' + str(duration.days) + " Tage", font = font16, fill = 0) drawblack.text((4, 16), 'Oder ' + str(round(duration.days / 7,3)) + " Wochen", font = font16, fill = 0) - drawblack.text((4, 32), 'Oder ', + str(round(duration.days / 30,3)) + " Monate", font = font16, fill = 0) + drawblack.text((4, 32), 'Oder ', + str(duration.days / 30) + " Monate", font = font16, fill = 0) drawblack.text((4, 48), 'Oder ', + str(duration.days * 24) + " Stunden", font = font16, fill = 0) drawblack.text((4, 64), 'Oder ', + str(duration.days / 365) + " Jahre", font = font16, fill = 0) drawblack.text((4, 80), "Bis du am " + str(ruhestand.strftime("%A %B %d.%m.%Y")), font = font16, fill = 0)