chiark / gitweb /
timedatectl: do not print the time zone for the rtc time
authorKay Sievers <kay@vrfy.org>
Thu, 31 Oct 2013 02:04:07 +0000 (03:04 +0100)
committerKay Sievers <kay@vrfy.org>
Thu, 31 Oct 2013 02:05:14 +0000 (03:05 +0100)
src/timedate/timedatectl.c

index 30054b6629fa87d11cb9cb12a35de1a749387212..48a3b49755dfcd4261a666109cd74d9954c3f067 100644 (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