From 952857e72163d2f10bfa28fd84c015dad9452e2b Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Sun, 14 Aug 2016 20:10:45 -0400 Subject: [PATCH] Correct type-o in error message --- tz.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tz.h b/tz.h index b55d71b..5196517 100644 --- a/tz.h +++ b/tz.h @@ -1408,7 +1408,7 @@ format(const std::locale& loc, std::basic_string 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