mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-10 16:43:35 +02:00
2021-08-13 Fred Gleason <fredg@paravelsystems.com>
* Replaced hard-coded date/time formats with standard formats in all reports and GUI modules. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -320,7 +320,7 @@ void MainWidget::eventsReportData()
|
||||
report=RDReport::center("Rivendell GPIO Event Report",78)+"\n";
|
||||
report+=
|
||||
RDReport::center(QString("Date: ")+
|
||||
gpi_events_date_edit->date().toString("MM/dd/yyyy")+
|
||||
rda->shortDateString(gpi_events_date_edit->date())+
|
||||
" "+rda->station()->name()+":"+
|
||||
QString().sprintf("%d ",gpi_matrix_box->currentIndex())+
|
||||
" State Filter: "+
|
||||
@@ -349,7 +349,7 @@ void MainWidget::eventsReportData()
|
||||
q=new RDSqlQuery(sql);
|
||||
while(q->next()) {
|
||||
report+=" ";
|
||||
report+=q->value(0).toDateTime().toString("hh:mm:ss")+" ";
|
||||
report+=rda->timeString(q->value(0).toDateTime().time())+" ";
|
||||
report+=QString().sprintf(" %5d ",q->value(1).toInt());
|
||||
if(q->value(2).toInt()==0) {
|
||||
report+=tr("OFF");
|
||||
|
Reference in New Issue
Block a user