Commit cac2216e authored by Robert Krawitz's avatar Robert Krawitz

Apply 1 suggestion(s) to 1 file(s)

parent cdbc708a
......@@ -28,8 +28,7 @@ Utilities::FastDateTime::addDays(qint64 days) const
{
FastDateTime answer(*this);
answer.m_dateTime = answer.m_dateTime.addDays(days);
answer.m_msecsSinceEpoch = answer.m_dateTime.isValid() ?
answer.m_dateTime.toMSecsSinceEpoch() : INT64_MIN;
answer.m_msecsSinceEpoch = toValidatedMSecs(answer);
return answer;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment