summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-10-20 04:50:36 +0100
committerPeter Powell <petpow@saberuk.com>2017-10-20 04:50:36 +0100
commit9f7c187c518466114cb3e3b51979d2c63c2ce7a0 (patch)
tree84bfe0b1b46acba64d2f7d82b2dd66dec3be7719 /src
parent3c7e105d09c99ed0b74a63bef68d5f2a1cbd8cff (diff)
Switch the default datetime format to something easier to read.
Diffstat (limited to 'src')
-rw-r--r--src/helperfuncs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index 8bb81481e..7e992c4a6 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -384,7 +384,7 @@ std::string InspIRCd::TimeString(time_t curtime, const char* format, bool utc)
// This is the default format used by asctime without the terminating new line.
if (!format)
- format = "%a %b %d %H:%M:%S %Y";
+ format = "%a %b %d %Y %H:%M:%S";
char buffer[512];
if (!strftime(buffer, sizeof(buffer), format, timeinfo))