mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-07 03:30:44 +00:00
Add some qDebug() statements for invalid start dates
This commit is contained in:
parent
6a7661f516
commit
a9c3b363b9
@ -100,14 +100,16 @@ bool EDFParser::Parse()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!startdate_orig.isValid()) {
|
if (!startdate_orig.isValid()) {
|
||||||
qDebug() << "Invalid date time retreieved parsing EDF File " << filename;
|
qDebug() << "Invalid date time retreieved parsing EDF File" << filename;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
startdate = qint64(startdate_orig.toTime_t()) * 1000L;
|
startdate = qint64(startdate_orig.toTime_t()) * 1000L;
|
||||||
//startdate-=timezoneOffset();
|
//startdate-=timezoneOffset();
|
||||||
if (startdate == 0)
|
if (startdate == 0) {
|
||||||
qDebug() << "EDFParser::Parse startdate = 0";
|
qDebug() << "Invalid startdate = 0 in EDF File" << filename;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
//qDebug() << startDate.toString("yyyy-MM-dd HH:mm:ss");
|
//qDebug() << startDate.toString("yyyy-MM-dd HH:mm:ss");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user