mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-07 03:30:44 +00:00
Fix debug message when skipping short sessions.
The session ID is not a date on all machines.
This commit is contained in:
parent
e698879e17
commit
d75a2e9fca
@ -387,7 +387,7 @@ bool Machine::AddSession(Session *s)
|
|||||||
if (session_length < ignore_sessions) {
|
if (session_length < ignore_sessions) {
|
||||||
// keep the session to save importing it again, but don't add it to the day record this time
|
// keep the session to save importing it again, but don't add it to the day record this time
|
||||||
qDebug() << s->session() << "Ignoring short session <" << ignore_sessions
|
qDebug() << s->session() << "Ignoring short session <" << ignore_sessions
|
||||||
<< "["+QDateTime::fromTime_t(s->session()).toString("MMM dd, yyyy hh:mm:ss")+"]";
|
<< "["+QDateTime::fromMSecsSinceEpoch(s->first()).toString("MMM dd, yyyy hh:mm:ss")+"]";
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user