summary refs log tree commit diff stats
path: root/src/common/text.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-04 22:12:14 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-04 22:12:14 +0200
commit02fd5a2aff17d7ac8c984b0db8586cd6948309cf (patch)
tree128bae33cf7c4f70a2b6b837f3dc659a6b3128d8 /src/common/text.c
parent24de2899eccc64dd5531074ed7fc59a853809478 (diff)
Enable timestamps by default and change default format to include seconds
Diffstat (limited to 'src/common/text.c')
-rw-r--r--src/common/text.c2
1 files changed, 1 insertions, 1 deletions
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)