new time info

This commit is contained in:
arg@mig29 2006-11-03 14:32:05 +01:00
parent 45ff5ccf31
commit 9197fee8a9
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# sic version
VERSION = 0.5
VERSION = 0.6
# Customize below to fit your system

2
sic.c
View File

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