summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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))