In the status line, don't show the current time's seconds.
This commit is contained in:
parent
a71862be64
commit
471794c461
2
main.py
2
main.py
|
|
@ -101,7 +101,7 @@ def update_screen(updates: list[ArrivalTime]) -> None:
|
||||||
)
|
)
|
||||||
|
|
||||||
# Add the current time to the bottom line
|
# Add the current time to the bottom line
|
||||||
datetime_text = "Current time: " + datetime.today().strftime("%d/%m/%Y %H:%M:%S")
|
datetime_text = "Current time: " + datetime.today().strftime("%d/%m/%Y %H:%M")
|
||||||
write_line(5, datetime_text)
|
write_line(5, datetime_text)
|
||||||
|
|
||||||
def clear_screen() -> None:
|
def clear_screen() -> None:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue