From: Thomas Jarosch Date: Wed, 27 Mar 2019 15:49:44 +0000 (+0100) Subject: Fix output unit for Time::operator<< X-Git-Tag: v2.11~1^2~7 X-Git-Url: http://developer.intra2net.com/git/?p=libi2ncommon;a=commitdiff_plain;h=f8ebfa53b206d9ac33762f55da743b4670332035 Fix output unit for Time::operator<< It's seconds instead of milliseconds. --- diff --git a/src/timefunc.hxx b/src/timefunc.hxx index 9961b6c..3cb34ad 100644 --- a/src/timefunc.hxx +++ b/src/timefunc.hxx @@ -626,7 +626,7 @@ namespace clock { inline std::ostream & operator<< (std::ostream &os, const Time &t) { - os << I2n::to_string (t.value.tv_sec) << "ms, " + os << I2n::to_string (t.value.tv_sec) << "s, " << I2n::to_string (t.value.tv_nsec) << "ns" ;