diff --git a/etc/default/templates/plan.html.njk b/etc/default/templates/plan.html.njk
index 6d9f369..a626b53 100644
--- a/etc/default/templates/plan.html.njk
+++ b/etc/default/templates/plan.html.njk
@@ -164,7 +164,7 @@ footer {
{{projectId |upper}} – Lookahead
{% if lines.length %}
From {{ lines |get("ts0") |sort |first |timestamp("min") }}
- until {{ lines |get("ts0") |sort |last |timestamp("min") }}
+ until {{ lines |get("ts1") |sort |last |timestamp("min") }}
{% endif %}