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

Use a more human readable datetime format.

This commit is contained in:
Sadie Powell
2023-10-06 11:06:58 +01:00
parent 8e1c7e1e44
commit 0f32d2e553
+1 -1
View File
@@ -351,7 +351,7 @@ Anope::string Anope::strftime(time_t t, const NickCore *nc, bool short_output)
{
tm tm = *localtime(&t);
char buf[BUFSIZE];
strftime(buf, sizeof(buf), Language::Translate(nc, _("%b %d %H:%M:%S %Y %Z")), &tm);
strftime(buf, sizeof(buf), Language::Translate(nc, _("%b %d %Y %H:%M:%S %Z")), &tm);
if (short_output)
return buf;
if (t < Anope::CurTime)