diff --git a/include/date/date.h b/include/date/date.h index 4780aa8..fba24cd 100644 --- a/include/date/date.h +++ b/include/date/date.h @@ -4566,7 +4566,7 @@ to_stream(std::basic_ostream& os, const CharT* fmt, { using namespace std; using namespace std::chrono; - tm tm; + tm tm{}; #if !ONLY_C_LOCALE auto& facet = use_facet>(os.getloc()); #endif