chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e560987
)
timedatectl: do not print the time zone for the rtc time
author
Kay Sievers
<kay@vrfy.org>
Thu, 31 Oct 2013 02:04:07 +0000
(
03:04
+0100)
committer
Kay Sievers
<kay@vrfy.org>
Thu, 31 Oct 2013 02:05:14 +0000
(
03:05
+0100)
src/timedate/timedatectl.c
patch
|
blob
|
history
diff --git
a/src/timedate/timedatectl.c
b/src/timedate/timedatectl.c
index 30054b6629fa87d11cb9cb12a35de1a749387212..48a3b49755dfcd4261a666109cd74d9954c3f067 100644
(file)
--- 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