From ca812ed447e6e254395b0044582b20be998445e9 Mon Sep 17 00:00:00 2001 From: Thorsten Töpper Date: Mon, 7 Jul 2025 23:48:37 +0200 Subject: output: long time now left aligned, 3&4 char timezone --- src/output.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/output.c b/src/output.c index 5c68f17..93ef6f5 100644 --- a/src/output.c +++ b/src/output.c @@ -177,10 +177,10 @@ inline void out_print_time(time_t tv) { tm = localtime(&tv); if (option_timestamp_long) { strftime(timestamp, sizeof(timestamp), "%Y%m%d %H:%M:%S %Z", tm); - printf(" %22s ", timestamp); + printf(" %-22s ", timestamp); } else { strftime(timestamp, sizeof(timestamp), "%H:%M:%S", tm); - printf(" %8s ", timestamp); + printf(" %-8s ", timestamp); } } -- cgit v1.2.3-70-g09d2