2017-02-10 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in 'lib/rdlog_line.cpp' that caused the event start
	time to be incorrect in the 'ListLog' Web API method for times of
	'00:00:00.0' for 'hard' type.
This commit is contained in:
Fred Gleason 2017-02-10 08:39:14 -05:00
parent 0274ddd56a
commit dcff3e6f4f
2 changed files with 10 additions and 1 deletions

View File

@ -15573,3 +15573,7 @@
the 'make rpm' target.
2017-02-08 Fred Gleason <fredg@paravelsystems.com>
* Incremented the package version to 2.15.2int01.
2017-02-10 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'lib/rdlog_line.cpp' that caused the event start
time to be incorrect in the 'ListLog' Web API method for times of
'00:00:00.0' for 'hard' type.

View File

@ -1968,7 +1968,12 @@ QString RDLogLine::xml(int line) const
toString("hh:mm:ss.zzz"));
}
else {
ret+=" "+RDXmlField("startTime");
if(timeType()==RDLogLine::Hard) {
ret+=" "+RDXmlField("startTime","00:00:00.000");
}
else {
ret+=" "+RDXmlField("startTime");
}
}
ret+=" "+RDXmlField("transitionType",RDLogLine::transText(transType()));
ret+=" "+RDXmlField("cutQuantity",cutQuantity());