summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2023-10-06 11:06:58 +0100
committerSadie Powell <sadie@witchery.services>2023-10-12 14:41:07 +0100
commit0f32d2e55375333c0eb8a6450f6db36071f40561 (patch)
tree9ee9e75df06395230322be390113968dc5b97879 /src
parent8e1c7e1e442958b200360a53869f08e0344c8c99 (diff)
Use a more human readable datetime format.
Diffstat (limited to 'src')
-rw-r--r--src/misc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc.cpp b/src/misc.cpp
index 39c688ea6..4e46f4e9b 100644
--- a/src/misc.cpp
+++ b/src/misc.cpp
@@ -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)