mirror of
https://github.com/HowardHinnant/date.git
synced 2024-12-28 17:28:15 +08:00
Put %Z back into default streaming for zoned_time
* It was removed by accident.
This commit is contained in:
parent
e0c962a8ce
commit
2d1d8f2255
2
tz.h
2
tz.h
@ -1131,7 +1131,7 @@ inline
|
||||
std::basic_ostream<CharT, Traits>&
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user