diff --git a/Userland/Utilities/cal.cpp b/Userland/Utilities/cal.cpp index 7340d6cd0d..43ffe1da79 100644 --- a/Userland/Utilities/cal.cpp +++ b/Userland/Utilities/cal.cpp @@ -29,7 +29,7 @@ static ErrorOr> month_lines_to_print(int month, int year) Vector lines; // FIXME: Both the month name and month header text should be provided by a locale - TRY(lines.try_append(TRY(String::formatted(" {:02} - {:02} ", month, year)))); + TRY(lines.try_append(TRY(String::formatted("{:^20s}", TRY(String::formatted("{:02} - {:02}", month, year)))))); TRY(lines.try_append(TRY(String::from_utf8("Su Mo Tu We Th Fr Sa"sv)))); int day_to_print = 1;