diff options
| author | Thorsten Töpper <atsutane@freethoughts.de> | 2025-07-07 23:48:37 +0200 |
|---|---|---|
| committer | Thorsten Töpper <atsutane@freethoughts.de> | 2025-07-07 23:48:37 +0200 |
| commit | ca812ed447e6e254395b0044582b20be998445e9 (patch) | |
| tree | ec538ecdd3a1f61a88d0dcb32644c4f663971869 /src/output.c | |
| parent | d91dca7a417c55224167e33d7d0cad550218ead9 (diff) | |
| download | dir_monitor-ca812ed447e6e254395b0044582b20be998445e9.tar.gz dir_monitor-ca812ed447e6e254395b0044582b20be998445e9.tar.bz2 | |
output: long time now left aligned, 3&4 char timezone
Diffstat (limited to 'src/output.c')
| -rw-r--r-- | src/output.c | 4 |
1 files 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); } } |
