diff --git a/git_time_tracker/format/cli.py b/git_time_tracker/format/cli.py index 4604c27..c7d0313 100644 --- a/git_time_tracker/format/cli.py +++ b/git_time_tracker/format/cli.py @@ -32,7 +32,8 @@ def fmt_year_ranges(years: list[int]) -> str: def fmt_line(label: Label, total_time: datetime.timedelta) -> str: hours = int(total_time / HOUR) minutes = int((total_time - hours * HOUR) / MINUTE) - return f' {label.category:10} {label.label:40} {hours:-4d}h {minutes:-2d}m' + label_str = str(label.label) + return f' {label.category:20} {label_str:50} {hours:-4d}h {minutes:-2d}m' def generate_report(