Unverified Commit 1af30196 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #8243 from Williangalvani/fixcsvdate

Vehicle: Change date format in csv output
parents ac265c19 ddbf2199
......@@ -4151,7 +4151,7 @@ void Vehicle::_writeCsvLine()
QTextStream stream(&_csvLogFile);
// Write timestamp to csv file
allFactValues << QDateTime::currentDateTime().toString();
allFactValues << QDateTime::currentDateTime().toString(QStringLiteral("yyyy-MM-dd hh:mm:ss.zzz"));
// Write Vehicle's own facts
for (const QString& factName : factNames()) {
allFactValues << getFact(factName)->cookedValueString();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment