From 2921c723c3e10aeac25240b76b71070f73fc4d71 Mon Sep 17 00:00:00 2001 From: hammi Date: Tue, 3 Jun 2025 18:19:05 +0200 Subject: [PATCH 1/2] buba/animations/icalevents.py aktualisiert Fix Datum abgeschnitten. --- buba/animations/icalevents.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buba/animations/icalevents.py b/buba/animations/icalevents.py index a3c63d2..f8b4bc2 100644 --- a/buba/animations/icalevents.py +++ b/buba/animations/icalevents.py @@ -48,6 +48,6 @@ class IcalEvents(BubaAnimation): else: when = event.start.strftime("%d.%m.") self.buba.text(page=0, row=i + 1, col_start=0, col_end=104, text=self.ellipsis(event.summary)) - self.buba.text(page=0, row=i + 1, col_start=105, col_end=119, + self.buba.text(page=0, row=i + 1, col_start=104, col_end=119, text=when, align=BubaCmd.ALIGN_RIGHT) sleep(10) From cb8d434db315431aa318a1cbf9541495ff1a0aef Mon Sep 17 00:00:00 2001 From: hammi Date: Tue, 3 Jun 2025 18:23:35 +0200 Subject: [PATCH 2/2] buba/animations/icalevents.py aktualisiert Forgot to change end of col --- buba/animations/icalevents.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buba/animations/icalevents.py b/buba/animations/icalevents.py index f8b4bc2..ec0ba20 100644 --- a/buba/animations/icalevents.py +++ b/buba/animations/icalevents.py @@ -47,7 +47,7 @@ class IcalEvents(BubaAnimation): when = event.start.strftime("%H:%M") else: when = event.start.strftime("%d.%m.") - self.buba.text(page=0, row=i + 1, col_start=0, col_end=104, text=self.ellipsis(event.summary)) + self.buba.text(page=0, row=i + 1, col_start=0, col_end=103, text=self.ellipsis(event.summary)) self.buba.text(page=0, row=i + 1, col_start=104, col_end=119, text=when, align=BubaCmd.ALIGN_RIGHT) sleep(10)