mirror of
https://github.com/HowardHinnant/date.git
synced 2025-07-30 18:57:14 +02:00
Correct to_stream/from_stream handling of stream data
* to_stream and from_stream now reset the stream formatting state to default settings on entry, and restore the stream state on exit. * to_stream and from_stream now correctly handle mis-modified flags. * Fix %h to be equivalent to %b instead of %B. * This addresses issues 319, 320 and 321.
This commit is contained in: