commit 489d8c5cd0be81e39b3294385992f91986dfdf38 from: Alexander Barton date: Mon Apr 21 10:54:30 2003 UTC Removed unportable %z formater in strftime(). commit - daa996f1778a1d7ba97a10936fbbb522cc63b581 commit + 489d8c5cd0be81e39b3294385992f91986dfdf38 blob - 1c3e4d59c4a8edc2f3fb50d3723cf2f9f2dfe0a4 blob + a11f9dadcc11a7406360710dcc1af6d18461f011 --- src/ngircd/irc-info.c +++ src/ngircd/irc-info.c @@ -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 @@ -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 */