diff --git a/ChangeLog b/ChangeLog index f9572e4a..e94163f3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -15573,3 +15573,7 @@ the 'make rpm' target. 2017-02-08 Fred Gleason * Incremented the package version to 2.15.2int01. +2017-02-10 Fred Gleason + * 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. diff --git a/lib/rdlog_line.cpp b/lib/rdlog_line.cpp index acf58881..0a3f3a2d 100644 --- a/lib/rdlog_line.cpp +++ b/lib/rdlog_line.cpp @@ -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());