Skip to content

Commit

Permalink
ISODate format for UTC date end by "Z"
Browse files Browse the repository at this point in the history
fixes #387
  • Loading branch information
grauser committed Dec 17, 2012
1 parent 05c96f3 commit 649ebaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TcxRideFile.cpp
Expand Up @@ -74,12 +74,12 @@ TcxFileReader::writeRideFile(MainWindow *mainWindow, const RideFile *ride, QFile

// time
QDomElement id = doc.createElement("Id");
text = doc.createTextNode(ride->startTime().toUTC().toString(Qt::ISODate)+"Z");
text = doc.createTextNode(ride->startTime().toUTC().toString(Qt::ISODate));
id.appendChild(text);
activity.appendChild(id);

QDomElement lap = doc.createElement("Lap");
lap.setAttribute("StartTime", ride->startTime().toUTC().toString(Qt::ISODate)+"Z");
lap.setAttribute("StartTime", ride->startTime().toUTC().toString(Qt::ISODate));
activity.appendChild(lap);

const char *metrics[] = {
Expand Down

0 comments on commit 649ebaf

Please sign in to comment.