diff options
Diffstat (limited to 'src/helperfuncs.cpp')
| -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 3c5f0f399..756aeb11b 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -617,7 +617,7 @@ std::string Time::ToString(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 %Y %H:%M:%S"; + format = Time::DEFAULT_SHORT; char buffer[512]; if (!strftime(buffer, sizeof(buffer), format, timeinfo)) |
