Do not show seconds, the serial is not fast enpugh
Some checks failed
docker-image / docker (push) Has been cancelled

This commit is contained in:
Stefan Bethke 2025-06-02 21:09:26 +02:00
commit 5a73d4f1c8

View file

@ -122,6 +122,6 @@ class DBFAnimation(BubaAnimation):
self.buba.text(page=0, row=i + 1, col_start=105, col_end=119,
text=str(when), align=BubaCmd.ALIGN_RIGHT)
self.buba.set_page(0)
for i in range(10):
self.buba.text(page=0, row=0, col_start=93, col_end=119, text=datetime.datetime.now().strftime("%H:%M:%S"), align=BubaCmd.ALIGN_RIGHT)
sleep(1)
for i in range(5):
self.buba.text(page=0, row=0, col_start=93, col_end=119, text=datetime.datetime.now().strftime("%H:%M"), align=BubaCmd.ALIGN_RIGHT)
sleep(2)