timedatectl: do not print the time zone for the rtc time

This commit is contained in:
Kay Sievers 2013-10-31 03:04:07 +01:00
parent e5609878d8
commit 7f35b7bc4a

View file

@ -126,7 +126,7 @@ static void print_status_info(StatusInfo *i) {
rtc_sec = (time_t)(i->rtc_time / USEC_PER_SEC);
zero(tm);
assert_se(strftime(a, sizeof(a), "%a %Y-%m-%d %H:%M:%S %Z", gmtime_r(&rtc_sec, &tm)) > 0);
assert_se(strftime(a, sizeof(a), "%a %Y-%m-%d %H:%M:%S", gmtime_r(&rtc_sec, &tm)) > 0);
char_array_0(a);
printf(" RTC time: %s\n", a);
} else