Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
ddbf2199
Commit
ddbf2199
authored
Jan 20, 2020
by
Willian Galvani
Browse files
Vehicle: Change date format in csv output
parent
391f155c
Changes
1
Show whitespace changes
Inline
Side-by-side
src/Vehicle/Vehicle.cc
View file @
ddbf2199
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment