mirror of
https://github.com/anope/anope.git
synced 2026-07-08 02:03:13 +02:00
Fix Windows
This commit is contained in:
@@ -12,7 +12,7 @@ static Anope::string BuildDate()
|
||||
{
|
||||
char timebuf[64];
|
||||
struct tm *tm = localtime(&Anope::CurTime);
|
||||
strftime(timebuf, sizeof(timebuf), "%a, %d %b %Y %T %Z", tm);
|
||||
strftime(timebuf, sizeof(timebuf), "%a, %d %b %Y %H:%M:%S %Z", tm);
|
||||
return timebuf;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user