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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user