]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
Use C locale for the compilation date.
authorJilles Tjoelker <redacted>
Sun, 17 Aug 2008 20:55:57 +0000 (22:55 +0200)
committerJilles Tjoelker <redacted>
Sun, 17 Aug 2008 20:55:57 +0000 (22:55 +0200)
TODO
src/version.c.SH

diff --git a/TODO b/TODO
index 661c35ddac28e31b17cb2f3b4facd49433f45c30..76eb97c43740897effa483821bf913a1df82ba50 100644 (file)
--- 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
index 769daf83e14d1b0bcf72c9030c17b045d7b3c78d..59a5ee820a23e5d735d556d1b17099205586a9ea 100644 (file)
@@ -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 \