diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/timedate/timedatectl.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/timedate/timedatectl.c b/src/timedate/timedatectl.c index e17f631566..d379bccd7f 100644 --- a/src/timedate/timedatectl.c +++ b/src/timedate/timedatectl.c @@ -145,10 +145,9 @@ static void print_status_info(StatusInfo *i) { } zero(tm); - assert_se(strftime(a, sizeof(a), "%z", localtime_r(&sec, &tm)) > 0); + assert_se(strftime(a, sizeof(a), "%Z, %z", localtime_r(&sec, &tm)) > 0); char_array_0(a); - printf(" Timezone: %s\n" - " UTC offset: %s\n" + printf(" Timezone: %s (%s)\n" " NTP enabled: %s\n" "NTP synchronized: %s\n" " RTC in local TZ: %s\n", |