1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 12:26:39 +02:00

Improve the date format used when using non-English languages.

This commit is contained in:
Sadie Powell
2025-10-09 13:38:16 +01:00
parent dfa0bf5e5d
commit 9f6f0b445b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -629,7 +629,7 @@ Anope::string Anope::strftime(time_t t, const NickCore *nc, bool short_output)
}
char buf[BUFSIZE];
strftime(buf, sizeof(buf), "%b %d %Y %H:%M:%S %Z", (nc ? localtime(&t) : gmtime(&t)));
strftime(buf, sizeof(buf), "%c", (nc ? localtime(&t) : gmtime(&t)));
if (nc)
{