Introduction
Introduction Statistics Contact Development Disclaimer Help
new time info - sic - simple irc client
git clone git://git.suckless.org/sic
Log
Files
Refs
README
LICENSE
---
commit 9197fee8a9045b9555ffe12387524b2fc4a16805
parent 45ff5ccf31f27d61473e4811379c0d5319a25b20
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(-)
---
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
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);
}
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.