diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h index 8cecb162..c9a8ed8b 100644 --- a/include/fmt/chrono.h +++ b/include/fmt/chrono.h @@ -1264,6 +1264,8 @@ class tm_writer { OutputIt out() const { return out_; } + const std::locale& locale() const { return loc_; } + FMT_CONSTEXPR void on_text(const Char* begin, const Char* end) { out_ = copy_str(begin, end, out_); }