adding current date as default for cli args

This commit is contained in:
2024-06-19 15:49:20 +02:00
parent 6fa1c5a4c3
commit bb5364d021
4 changed files with 25 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
from model.TimeSlot import TimeSlot
def convert_to_table(time_slot_list: list[TimeSlot]):
def convert_to_table(time_slot_list: list[TimeSlot]) -> str:
widths = [30, 26, 26]
r_str = f"+{'-'*(widths[0]+2)}+{'-'*(widths[1]+2)}+{'-'*(widths[2]+2)}+\n"