Put %Z back into default streaming for zoned_time

* It was removed by accident.
This commit is contained in:
Howard Hinnant
2017-07-01 23:00:34 -04:00
parent e0c962a8ce
commit 2d1d8f2255

2
tz.h
View File

@@ -1131,7 +1131,7 @@ inline
std::basic_ostream<CharT, Traits>& std::basic_ostream<CharT, Traits>&
operator<<(std::basic_ostream<CharT, Traits>& os, const zoned_time<Duration>& t) operator<<(std::basic_ostream<CharT, Traits>& os, const zoned_time<Duration>& t)
{ {
const CharT fmt[] = {'%', 'F', ' ', '%', 'T', CharT{}}; const CharT fmt[] = {'%', 'F', ' ', '%', 'T', ' ', '%', 'Z', CharT{}};
return to_stream(os, fmt, t); return to_stream(os, fmt, t);
} }