From: Kay Sievers Date: Thu, 31 Oct 2013 02:04:07 +0000 (+0100) Subject: timedatectl: do not print the time zone for the rtc time X-Git-Tag: v209~1695 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=7f35b7bc4a241e9aa3b1512fd345cbf5b2e5a782;hp=e5609878d8802e2469c433be418bcbcf55fbe63b timedatectl: do not print the time zone for the rtc time --- diff --git a/src/timedate/timedatectl.c b/src/timedate/timedatectl.c index 30054b662..48a3b4975 100644 --- a/src/timedate/timedatectl.c +++ b/src/timedate/timedatectl.c @@ -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