mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-17 16:11:12 +02:00
2021-08-12 Fred Gleason <fredg@paravelsystems.com>
* Modified reports in rdlogmanager(1) to use standard date/time formats. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include <QTextStream>
|
||||
|
||||
#include "rdairplay_conf.h"
|
||||
#include "rdapplication.h"
|
||||
#include "rdconf.h"
|
||||
#include "rddatedecode.h"
|
||||
#include "rddb.h"
|
||||
@@ -62,14 +63,14 @@ bool RDReport::ExportMusicSummary(const QString &filename,
|
||||
//
|
||||
if(startdate==enddate) {
|
||||
*strm << RDReport::center(QString("Rivendell RDAirPlay Music Summary Report for ")+
|
||||
startdate.toString("MM/dd/yyyy"),75)+"\n";
|
||||
rda->shortDateString(startdate),78)+"\n";
|
||||
}
|
||||
else {
|
||||
*strm << RDReport::center(QString("Rivendell RDAirPlay Music Summary Report for ")+
|
||||
startdate.toString("MM/dd/yyyy")+" - "+
|
||||
enddate.toString("MM/dd/yyyy"),75)+"\n";
|
||||
rda->shortDateString(startdate)+" - "+
|
||||
rda->shortDateString(enddate),78)+"\n";
|
||||
}
|
||||
*strm << RDReport::center(name()+" -- "+description(),75)+"\n";
|
||||
*strm << RDReport::center(name()+" -- "+description(),78)+"\n";
|
||||
|
||||
//
|
||||
// Write Data Rows
|
||||
|
Reference in New Issue
Block a user