Correct type-o in error message

This commit is contained in:
Howard Hinnant committed 2016-08-14 20:35:22 -04:00
1 parent 78025bf922
commit 952857e721
1 file changed
+1 -1
+1 -1
View File
@@ -1408,7 +1408,7 @@ format(const std::locale& loc, std::basic_string<CharT, Traits> fmt,
if (command && !modified)
{
if (info == nullptr)
throw std::runtime_error("Can not format local_time with %z");
throw std::runtime_error("Can not format local_time with %Z");
else
{
fmt.replace(i - 1, 2, std::basic_string<CharT, Traits>