mirror of
https://github.com/HowardHinnant/date.git
synced 2025-08-03 04:34:26 +02:00
Put %Z back into default streaming for zoned_time
* It was removed by accident.
This commit is contained in:
2
tz.h
2
tz.h
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user