Enable timestamps by default and change default format to include seconds

This commit is contained in:
Berke Viktor
2012-10-04 22:12:14 +02:00
parent 24de2899ec
commit 02fd5a2aff
2 changed files with 3 additions and 2 deletions

View File

@@ -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)