From 9f7c187c518466114cb3e3b51979d2c63c2ce7a0 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Fri, 20 Oct 2017 04:50:36 +0100 Subject: Switch the default datetime format to something easier to read. --- src/helperfuncs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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)) -- cgit v1.2.3