From 2d3a96b009f8c35fc07c357ece80aba6c5981742 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Mon, 14 Nov 2016 15:29:38 +0000 Subject: [PATCH] Use ISO 8601 format for Date/Time in ALL.TXT. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7312 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 73d671e2a..5de5a6a03 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -2360,7 +2360,7 @@ void MainWindow::writeAllTxt(QString message) if (f.open(QIODevice::WriteOnly | QIODevice::Text | QIODevice::Append)) { QTextStream out(&f); if(m_RxLog==1) { - out << QDateTime::currentDateTimeUtc().toString("yyyy-MMM-dd hh:mm") + out << QDateTime::currentDateTimeUtc().toString("yyyy-MM-dd hh:mm") << " " << qSetRealNumberPrecision (12) << (m_freqNominal / 1.e6) << " MHz " << m_mode << endl; m_RxLog=0; @@ -2437,7 +2437,7 @@ void MainWindow::readFromStdout() //readFromStdout if (f.open(QIODevice::WriteOnly | QIODevice::Text | QIODevice::Append)) { QTextStream out(&f); if(m_RxLog==1) { - out << QDateTime::currentDateTimeUtc().toString("yyyy-MMM-dd hh:mm") + out << QDateTime::currentDateTimeUtc().toString("yyyy-MM-dd hh:mm") << " " << qSetRealNumberPrecision (12) << (m_freqNominal / 1.e6) << " MHz " << m_mode << endl; m_RxLog=0; @@ -4911,7 +4911,7 @@ void MainWindow::handle_transceiver_update (Transceiver::TransceiverState const& QFile f2 {m_dataDir.absoluteFilePath ("ALL.TXT")}; if (f2.open(QIODevice::WriteOnly | QIODevice::Text | QIODevice::Append)) { QTextStream out(&f2); - out << QDateTime::currentDateTimeUtc().toString("yyyy-MMM-dd hh:mm") + out << QDateTime::currentDateTimeUtc().toString("yyyy-MM-dd hh:mm") << " " << qSetRealNumberPrecision (12) << (m_freqNominal / 1.e6) << " MHz " << m_mode << endl; f2.close();