Use custom datetime format for using in filename
authorunc0rr
Tue, 13 Jan 2009 20:34:44 +0000
changeset 1664 c8dc009d6e3c
parent 1663 8098deed9e5c
child 1665 ab712cca3f5f
Use custom datetime format for using in filename
QTfrontend/hwform.cpp
--- a/QTfrontend/hwform.cpp	Tue Jan 13 20:27:49 2009 +0000
+++ b/QTfrontend/hwform.cpp	Tue Jan 13 20:34:44 2009 +0000
@@ -700,7 +700,7 @@
 	QByteArray demo = record;
 	QString recordFileName =
 			config->appendDateTimeToRecordName() ?
-				QDateTime::currentDateTime().toString(Qt::ISODate) :
+				QDateTime::currentDateTime().toString("yyyy-MM-dd_hh-mm") :
 				"LastRound";
 
 	if (isDemo)