Skip to content

Commit

Permalink
QZ FIT file start timestamp inconsistent with Zwift (Issue #1311) (#1312
Browse files Browse the repository at this point in the history
)
  • Loading branch information
cagnulein authored Mar 3, 2023
1 parent 19e0521 commit 9e8a8a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qfit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ void qfit::save(const QString &filename, QList<SessionLine> session, bluetoothde
encode.Write(devIdMesg);
encode.Write(eventMesg);

fit::DateTime date((time_t)session.at(firstRealIndex).time.toSecsSinceEpoch());
fit::DateTime date((time_t)session.first().time.toSecsSinceEpoch());

fit::LapMesg lapMesg;
lapMesg.SetIntensity(FIT_INTENSITY_ACTIVE);
Expand Down

0 comments on commit 9e8a8a1

Please sign in to comment.