From c442ef9d924a254c6f7b4c6a56c08f5084988b88 Mon Sep 17 00:00:00 2001 From: Arnaud Delcasse Date: Mon, 13 Oct 2025 16:14:23 +0200 Subject: [PATCH] Add day info on transit trips --- web/layouts/journeys/search-compact.html | 31 +++++++++++++++--------- 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/web/layouts/journeys/search-compact.html b/web/layouts/journeys/search-compact.html index a05ab6f..0ba3493 100644 --- a/web/layouts/journeys/search-compact.html +++ b/web/layouts/journeys/search-compact.html @@ -181,13 +181,16 @@
-
-
- {{ timeFormat $journey.StartTime "15:04" }} - - {{ timeFormat $journey.EndTime "15:04" }} +
+
{{ timeFormat $journey.StartTime "02/01/2006" }}
+
+
+ {{ timeFormat $journey.StartTime "15:04" }} + + {{ timeFormat $journey.EndTime "15:04" }} +
+ {{ shortDuration $journey.Duration }}
- {{ shortDuration $journey.Duration }}
@@ -397,13 +400,16 @@
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
@@ -981,6 +987,7 @@ function compactJourneySearch() { { startTime: '{{ timeFormat $journey.StartTime "15:04" }}', endTime: '{{ timeFormat $journey.EndTime "15:04" }}', + startDate: '{{ timeFormat $journey.StartTime "02/01/2006" }}', duration: '{{ shortDuration $journey.Duration }}', legs: [ {{range $legIndex, $leg := $journey.Legs}}