From: arg@mig29 Date: Fri, 3 Nov 2006 13:32:05 +0000 (+0100) Subject: new time info X-Git-Url: https://git.armaanb.net/?p=sic.git;a=commitdiff_plain;h=9197fee8a9045b9555ffe12387524b2fc4a16805 new time info --- diff --git a/config.mk b/config.mk index 8eb9354..d955fc9 100644 --- a/config.mk +++ b/config.mk @@ -1,5 +1,5 @@ # sic version -VERSION = 0.5 +VERSION = 0.6 # Customize below to fit your system diff --git a/sic.c b/sic.c index 190ac9b..e5dc50a 100644 --- a/sic.c +++ b/sic.c @@ -49,7 +49,7 @@ pout(char *channel, char *msg) { static char timestr[18]; time_t t = time(0); - strftime(timestr, sizeof(timestr), "%a %R", localtime(&t)); + strftime(timestr, sizeof(timestr), "%F %R", localtime(&t)); fprintf(stdout, "%-8.8s: %s %s\n", channel, timestr, msg); }