From d9ec02d40024984e074fd357f352f41f421aedb0 Mon Sep 17 00:00:00 2001 From: doug1234 Date: Fri, 14 Jan 2022 20:06:26 -0500 Subject: [PATCH] Fix mistake in previous checkin. --- include/spdlog/pattern_formatter-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/pattern_formatter-inl.h b/include/spdlog/pattern_formatter-inl.h index 4342685d..c98c9fb2 100644 --- a/include/spdlog/pattern_formatter-inl.h +++ b/include/spdlog/pattern_formatter-inl.h @@ -1033,7 +1033,7 @@ SPDLOG_INLINE pattern_formatter::pattern_formatter(pattern_time_type time_type, , eol_(std::move(eol)) , pattern_time_type_(time_type) , last_log_secs_(0) - , needs_time_(false) + , needs_time_(true) { std::memset(&cached_tm_, 0, sizeof(cached_tm_)); formatters_.push_back(details::make_unique(details::padding_info{}));