From e4b642048cdcf7f631d32520d7df159b3baff3c5 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 23 Mar 2025 14:51:05 +0000 Subject: Switch check to use the default long time format. --- src/modules/m_check.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/modules/m_check.cpp') diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp index 2597c7b93..a8b73f45e 100644 --- a/src/modules/m_check.cpp +++ b/src/modules/m_check.cpp @@ -42,9 +42,8 @@ private: static std::string FormatTime(time_t ts) { - std::string timestr(Time::ToString(ts, "%Y-%m-%d %H:%M:%S UTC (", true)); - timestr.append(ConvToStr(ts)); - timestr.push_back(')'); + auto timestr = Time::ToString(ts, Time::DEFAULT_LONG, true); + timestr += INSP_FORMAT(" ({})", ServerInstance->Time()); return timestr; } -- cgit v1.3.1-10-gc9f91