Track pop-up with bad duration. Good duration at properties track.
First track-point
<trkpt lat="42.036522" lon="2.647589">
<ele>243.962</ele>
<time>2022-02-10T08:54:15Z</time>
</trkpt>
Last trackpoint
<trkpt lat="42.036517" lon="2.647852">
<ele>245.950</ele>
<time>2022-02-10T13:54:04Z</time>
</trkpt>
If I change the time for last track-point to 13:54:15 the problem disappears. I shows 5 hours.
Thank you for taking the time to report this issue.
Can you confirm which Viking version you are using?
Since if you are using v1.7, I believe this was fixed in v1.8.
See this git commit if anyone is interested.
Since Viking is a small community, only the latest version (currently v1.10) is supported.
HTH.
1.7 because I'm using Ubuntu 20.04 LTS ...