From c047c3a214c2714d47bc7fa5badf1a284a63e57d Mon Sep 17 00:00:00 2001 From: Mikhail Goncharov Date: Mon, 7 Oct 2024 22:07:13 +0200 Subject: [PATCH] duration fix --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index a94929a..c141781 100644 --- a/index.html +++ b/index.html @@ -232,7 +232,7 @@

Interactive race nutrition planner

} s += `
${formatHHMM(d.time)} `; if (d.rangeDuration.distance > 0) { - s += ` [${formatHHMM(d.time + d.rangeStart.time)}..${formatHHMM(d.time + d.rangeDuration.time)}]`; + s += ` [${formatHHMM(d.time + d.rangeStart.time)}..${formatHHMM(d.time + d.rangeStart.time + d.rangeDuration.time)}]`; } if (d.notes) s += `
${d.notes}`; tooltip @@ -637,8 +637,8 @@

Interactive race nutrition planner

} } - // TODO: pace // TODO: count site visits without cookies. + // TODO: move sort button to the first column. setTimeout(() => { loadData();