]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Removed unportable %z formater in strftime().
authorAlexander Barton <alex@barton.de>
Mon, 21 Apr 2003 10:54:30 +0000 (10:54 +0000)
committerAlexander Barton <alex@barton.de>
Mon, 21 Apr 2003 10:54:30 +0000 (10:54 +0000)
src/ngircd/irc-info.c

index 1c3e4d59c4a8edc2f3fb50d3723cf2f9f2dfe0a4..a11f9dadcc11a7406360710dcc1af6d18461f011 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "portab.h"
 
-static char UNUSED id[] = "$Id: irc-info.c,v 1.15 2003/03/31 15:54:21 alex Exp $";
+static char UNUSED id[] = "$Id: irc-info.c,v 1.16 2003/04/21 10:54:30 alex Exp $";
 
 #include "imp.h"
 #include <assert.h>
@@ -437,7 +437,7 @@ IRC_TIME( CLIENT *Client, REQUEST *Req )
        }
 
        t = time( NULL );
-       (VOID)strftime( t_str, 60, "%A %B %d %Y -- %H:%M %z", localtime( &t ));
+       (VOID)strftime( t_str, 60, "%A %B %d %Y -- %H:%M %Z", localtime( &t ));
        return IRC_WriteStrClient( from, RPL_TIME_MSG, Client_ID( from ), Client_ID( Client_ThisServer( )), t_str );
 } /* IRC_TIME */