diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-11-23 16:24:59 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-11-23 16:26:28 +0100 |
commit | 525716e2f9de779cba3e92d9135b2de64e937aa8 (patch) | |
tree | add05f026be906e7720fc8243ad80deff855ae46 /src/shared/util.c | |
parent | 01d183ddae6fb3445c4519cf1d90c6575f17292e (diff) |
util: drop "," between week day and date when formatting timestamps
The glibc default (as shown by the command line tool "date") doesn't put a comma there,
and so we shouldn't either.
Diffstat (limited to 'src/shared/util.c')
-rw-r--r-- | src/shared/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/util.c b/src/shared/util.c index d771d321dd..37fd1adfc9 100644 --- a/src/shared/util.c +++ b/src/shared/util.c @@ -1968,7 +1968,7 @@ char *format_timestamp(char *buf, size_t l, usec_t t) { sec = (time_t) (t / USEC_PER_SEC); - if (strftime(buf, l, "%a, %Y-%m-%d %H:%M:%S %Z", localtime_r(&sec, &tm)) <= 0) + if (strftime(buf, l, "%a %Y-%m-%d %H:%M:%S %Z", localtime_r(&sec, &tm)) <= 0) return NULL; return buf; |