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:
+1
-1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user