Tweak sys_time streaming operator to work better year and
month precision time_points.
This commit is contained in:
1 parent
2c035f8def
commit
c82b776f28
1 file changed
+2
-2
+2
-2
@@ -4206,8 +4206,8 @@ template <class CharT, class Traits, class Duration>
|
||||
inline
|
||||
typename std::enable_if
|
||||
<
|
||||
std::ratio_less<typename Duration::period, days::period>::value
|
||||
, std::basic_ostream<CharT, Traits>&
|
||||
!std::is_convertible<Duration, days>::value,
|
||||
std::basic_ostream<CharT, Traits>&
|
||||
>::type
|
||||
operator<<(std::basic_ostream<CharT, Traits>& os, const sys_time<Duration>& tp)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user