new time info - sic - simple irc client
 (HTM) git clone git://git.suckless.org/sic
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 9197fee8a9045b9555ffe12387524b2fc4a16805
 (DIR) parent 45ff5ccf31f27d61473e4811379c0d5319a25b20
 (HTM) Author: arg@mig29 <unknown>
       Date:   Fri,  3 Nov 2006 14:32:05 +0100
       
       new time info
       Diffstat:
         M config.mk                           |       2 +-
         M sic.c                               |       2 +-
       
       2 files changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/config.mk b/config.mk
       @@ -1,5 +1,5 @@
        # sic version
       -VERSION = 0.5
       +VERSION = 0.6
        
        # Customize below to fit your system
        
 (DIR) diff --git 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);
        }