1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-08 00:44:48 -04:00

force 24h time format

changed hh:mm to HH:mm
changed dd.MM.yyyy to yyyy-MM-dd to uniform all date format
This commit is contained in:
beta-tester
2018-05-11 11:00:08 +02:00
parent 251b93f97a
commit 1c952d3b0e
21 changed files with 39 additions and 39 deletions
+2 -2
View File
@@ -46,7 +46,7 @@ void CommandOutputDialog::refresh()
{
struct timeval tv = m_command.getLastProcessStartTimestamp();
QDateTime dt = QDateTime::fromMSecsSinceEpoch(tv.tv_sec * 1000LL + tv.tv_usec / 1000LL);
QString dateStr = dt.toString("yyyy-MM-dd hh:mm:ss.zzz");
QString dateStr = dt.toString("yyyy-MM-dd HH:mm:ss.zzz");
ui->startTime->setText(dateStr);
}
@@ -57,7 +57,7 @@ void CommandOutputDialog::refresh()
{
struct timeval tv = m_command.getLastProcessFinishTimestamp();
QDateTime dt = QDateTime::fromMSecsSinceEpoch(tv.tv_sec * 1000LL + tv.tv_usec / 1000LL);
QString dateStr = dt.toString("yyyy-MM-dd hh:mm:ss.zzz");
QString dateStr = dt.toString("yyyy-MM-dd HH:mm:ss.zzz");
ui->endTime->setText(dateStr);
}