From a8e36f3acce2f5908d5e7dc42cb8058efe36b53e Mon Sep 17 00:00:00 2001 From: vcoppe Date: Thu, 20 Jun 2024 00:54:54 +0200 Subject: [PATCH] default value for total time --- gpx/src/gpx.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpx/src/gpx.ts b/gpx/src/gpx.ts index 8070801cb..73845aad9 100644 --- a/gpx/src/gpx.ts +++ b/gpx/src/gpx.ts @@ -632,7 +632,7 @@ export class TrackSegment extends GPXTreeLeaf { // time if (points[i].time === undefined) { - statistics.local.time.total.push(undefined); + statistics.local.time.total.push(0); } else { if (statistics.global.time.start === undefined) { statistics.global.time.start = points[i].time;