mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-10-27 11:00:32 -04:00 
			
		
		
		
	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
This commit is contained in:
		
							parent
							
								
									8b7a7e795d
								
							
						
					
					
						commit
						2d3a96b009
					
				| @ -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(); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user