From 2d1d8f225588946cf0ecd52a45fdf9608b771c07 Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Sat, 1 Jul 2017 23:00:34 -0400 Subject: [PATCH] Put %Z back into default streaming for zoned_time * It was removed by accident. --- tz.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tz.h b/tz.h index 9b8f4d7..ec80235 100644 --- a/tz.h +++ b/tz.h @@ -1131,7 +1131,7 @@ inline std::basic_ostream& operator<<(std::basic_ostream& os, const zoned_time& t) { - const CharT fmt[] = {'%', 'F', ' ', '%', 'T', CharT{}}; + const CharT fmt[] = {'%', 'F', ' ', '%', 'T', ' ', '%', 'Z', CharT{}}; return to_stream(os, fmt, t); }