mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-12-02 18:23:13 +00:00
Enable timestamps by default and change default format to include seconds
This commit is contained in:
1 parent
24de2899ec
commit
02fd5a2aff
2 files changed
+3
-2
No files matched your search
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user