aboutsummaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2025-03-29 04:31:31 +0000
committerGravatar Sadie Powell2025-03-29 04:33:29 +0000
commit8b5bccaa8c382cca1dfae3c985e6045f1c367e1f (patch)
tree7161d8e2912031c7cc48e2c81cee8c2aa590c54f /src/helperfuncs.cpp
parentRemove support for in-query password comparison in sqlauth. (diff)
parentRelease v4.7.0. (diff)
Merge branch 'insp4' into master.
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r--src/helperfuncs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index cf92be745..b47c2bbd8 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -564,7 +564,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))