From 02fd5a2aff17d7ac8c984b0db8586cd6948309cf Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Thu, 4 Oct 2012 22:12:14 +0200 Subject: Enable timestamps by default and change default format to include seconds --- src/common/text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/text.c') diff --git a/src/common/text.c b/src/common/text.c index 0e8cbc3a..29efab98 100644 --- a/src/common/text.c +++ b/src/common/text.c @@ -744,7 +744,7 @@ get_stamp_str (char *fmt, time_t tim, char **ret) if (!len) { /* use failsafe format until a correct one is specified */ - len = strftime (dest, sizeof (dest), "[%H:%M]", localtime (&tim)); + len = strftime (dest, sizeof (dest), "[%H:%M:%S]", localtime (&tim)); } #endif if (len) -- cgit 1.4.1