2020-02-25 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in the 'CounterPoint Traffic Reconciliation' report
	generator in rdlogmanager(1) that caused it to omit the leading '0'
	from values in the 'Scheduled event length' column.
This commit is contained in:
Fred Gleason 2020-02-25 12:03:39 -05:00
parent d005913675
commit 82c00c2f2a
2 changed files with 6 additions and 2 deletions

View File

@ -19674,3 +19674,7 @@
2020-02-24 Fred Gleason <fredg@paravelsystems.com>
* Refactored the 'AR_GET_DISTRO()' autoconf macro to use
'/etc/os-release'.
2020-02-25 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the 'CounterPoint Traffic Reconciliation' report
generator in rdlogmanager(1) that caused it to omit the leading '0'
from values in the 'Scheduled event length' column.

View File

@ -2,7 +2,7 @@
//
// Export a Rivendell Report to RadioTraffic.com
//
// (C) Copyright 2002-2005,2009,2016-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2020 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@ -75,7 +75,7 @@ bool RDReport::ExportRadioTraffic(const QString &filename,
*strm << q->value(4).toTime().toString("hh:mm:ss")+" ";
*strm << q->value(2).toDateTime().toString("hh:mm:ss")+" ";
if(q->value(5).toInt()>0) {
*strm << RDGetTimeLength(q->value(5).toInt(),true,false)+" ";
*strm << QString("0")+RDGetTimeLength(q->value(5).toInt(),true,false)+" ";
}
else {
*strm << "00:00:00 ";