Revert changes to format_localized's parameters

This commit is contained in:
zeffy 2020-01-23 10:47:14 -08:00
parent 5792e6a060
commit 29e93af164

View File

@ -894,7 +894,7 @@ struct chrono_formatter {
void write_pinf() { std::copy_n("inf", 3, out); }
void write_ninf() { std::copy_n("-inf", 4, out); }
void format_localized(const tm& time, const char_type* format) {
void format_localized(const tm& time, const char* format) {
if (isnan(val)) return write_nan();
auto locale = context.locale().template get<std::locale>();
auto& facet = std::use_facet<std::time_put<char_type>>(locale);