From e4acdbf772dbc26fabec628e1e7d72f492cf6bb2 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 25 Apr 2019 07:31:32 -0700 Subject: [PATCH] ircd: Tweak the smalldate() format. --- include/ircd/date.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/ircd/date.h b/include/ircd/date.h index 7adeaac8d..bd9077657 100644 --- a/include/ircd/date.h +++ b/include/ircd/date.h @@ -90,12 +90,13 @@ ircd::smalldate(const mutable_buffer &buf, localtime_r(<ime, <); const auto len { - ::snprintf(data(buf), size(buf), "%d/%d/%d %02d.%02d", + ::snprintf(data(buf), size(buf), "%d/%d/%d_%02d:%02d:%02d", lt.tm_year + 1900, lt.tm_mon + 1, lt.tm_mday, lt.tm_hour, - lt.tm_min) + lt.tm_min, + lt.tm_sec) }; return