Commit ddbf2199 authored by Willian Galvani's avatar Willian Galvani

Vehicle: Change date format in csv output

parent 391f155c
......@@ -4147,7 +4147,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