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:
Fred Gleason
2021-08-13 10:02:26 -04:00
parent a7ea971910
commit 338465531c
25 changed files with 128 additions and 105 deletions

View File

@@ -172,7 +172,7 @@ void RDGpioLogModel::addEvent(int line,bool state)
QList<QVariant> texts;
// Time
texts.push_back(QTime::currentTime().toString("hh:mm:ss"));
texts.push_back(rda->timeString(QTime::currentTime()));
// Line
texts.push_back(QString().sprintf("%d",line+1));
@@ -269,7 +269,7 @@ void RDGpioLogModel::updateRow(int row,RDSqlQuery *q)
QList<QVariant> texts;
// Time
texts.push_back(q->value(0).toDateTime().toString("hh:mm:ss"));
texts.push_back(rda->timeString(q->value(0).toDateTime().time()));
// Line
texts.push_back(QString().sprintf("%d",q->value(1).toInt()));