Stefan Schuermans commited on 2017-09-24 10:45:58 Showing 1 changed files, with 1 additions and 1 deletions.
@@ -164,7 +164,7 @@ time_t Time::toSec() const
{
if (m_ns >= 500000000)
return m_sec + 1;
- else if (m_ns <= 500000000)
+ else if (m_ns <= -500000000)
return m_sec - 1;
else
return m_sec;