diff options
author | Peter Powell <petpow@saberuk.com> | 2017-10-20 04:50:36 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2017-10-20 04:50:36 +0100 |
commit | 9f7c187c518466114cb3e3b51979d2c63c2ce7a0 (patch) | |
tree | 84bfe0b1b46acba64d2f7d82b2dd66dec3be7719 | |
parent | 3c7e105d09c99ed0b74a63bef68d5f2a1cbd8cff (diff) |
Switch the default datetime format to something easier to read.
-rw-r--r-- | src/helperfuncs.cpp | 2 |
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)) |