diff --git a/date.h b/date.h index 5dbcb15..f1ff93d 100644 --- a/date.h +++ b/date.h @@ -4782,7 +4782,7 @@ to_stream(std::basic_ostream& os, const CharT* fmt, if (abbrev == nullptr) throw std::runtime_error("Can not format local_time with %Z"); for (auto c : *abbrev) - os << CharT{c}; + os << CharT(c); } else {