[systemd-commits] src/timedate

Kay Sievers kay at kemper.freedesktop.org
Thu Oct 31 03:06:38 CET 2013


 src/timedate/timedatectl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7f35b7bc4a241e9aa3b1512fd345cbf5b2e5a782
Author: Kay Sievers <kay at vrfy.org>
Date:   Thu Oct 31 03:04:07 2013 +0100

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

diff --git a/src/timedate/timedatectl.c b/src/timedate/timedatectl.c
index 30054b6..48a3b49 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



More information about the systemd-commits mailing list