From: Jilles Tjoelker Date: Sun, 17 Aug 2008 20:55:57 +0000 (+0200) Subject: Use C locale for the compilation date. X-Git-Tag: charybdis-3.1.0~133^2~41 X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/commitdiff_plain/c08e7f2dbd97c09e5f78b020f66b08308b85a604 Use C locale for the compilation date. --- diff --git a/TODO b/TODO index 661c35d..76eb97c 100644 --- a/TODO +++ b/TODO @@ -59,7 +59,7 @@ [?] native win32 (VS2005/VS2008) [/] Bug fixes [x] Compilation without zlib headers fails - fixed - [ ] Compilation date and time in server welcome message is in OS locale - looks ugly 'cause often it's not match user's codepage + [x] Compilation date and time in server welcome message is in OS locale - looks ugly 'cause often it's not match user's codepage [ ] Improvments [ ] ircd shouldn't need bison/byacc/yacc or flex for compilation --- other stuff diff --git a/src/version.c.SH b/src/version.c.SH index 769daf8..59a5ee8 100644 --- a/src/version.c.SH +++ b/src/version.c.SH @@ -19,7 +19,7 @@ generation=`expr $generation + 1` uname=`uname -a` -creation=`date | \ +creation=`LC_ALL=C date | \ awk '{if (NF == 6) \ { print $1 " " $2 " " $3 " " $6 " at " $4 " " $5 } \ else \