Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

Correct car and parking hand-over events, stop lengths and phone entry points on the calendar feeds page

Mauricefcd5f5dbb6b2
diff --git a/wiki/Calendar-Feeds.md b/wiki/Calendar-Feeds.md
index 3f4f621bf..45242e069 100644
--- a/wiki/Calendar-Feeds.md
+++ b/wiki/Calendar-Feeds.md
@@ -10,6 +10,9 @@ There are two feeds, each with its own way in:
- **Per-trip feed**: in the trip planner, click **Export** at the top of the days column. Under **Calendar**, pick **Subscribe to calendar** (*Auto-updates in your calendar app*). The row above it, **Download .ics**, is the one-off file. The subscribe row only appears if you may manage the trip's share links, see [Permissions](#permissions).
- **All-trips feed**: on the **My Trips** dashboard, click the calendar-plus button in the toolbar, **Subscribe to all trips**.
+- **On a phone**: the trip's export sheet has **Subscribe to calendar**, and the phone dashboard has a button for the all-trips feed.
+
+The feed is managed under **Export**, not in **Trip settings** (People, Sharing and Journal).
![Export dialog with Document, Calendar and Maps & GPS groups; Download .ics and Subscribe to calendar sit under Calendar](assets/ExportDialog.png)
@@ -60,13 +63,13 @@ Use **Regenerate** when a link has leaked, and **Turn off** when you no longer w
The feed carries the same events as the `.ics` download:
- **The trip itself**: an all-day event from the trip's start to its end date, with the trip description.
-- **Timed stops**: one event per place in the day plan that has a time, titled with the place name, with its address as the location and its notes as the description. Times follow the place's own time zone.
+- **Timed stops**: one event per place in the day plan that has a time, titled with the place name, with its address as the location and its notes as the description. Times follow the place's own time zone. A stop with a start time but no end time lasts as long as the place's duration, when one is set; without a duration your calendar app picks its own default length. An end time you set always wins.
- **A summary per day**: an all-day event for every day with untimed places or notes, titled with the day's title (or *Day N*), listing those places and notes.
- **Bookings** of every type, transport included. Flights and other rides take their start and end from the departure and arrival points, each in its own time zone. A booking with no date that can be placed is left out.
- **Connections**: a flight, train or cruise with several legs becomes one event per leg, titled *{title}: FRA → BER*, with each leg's own departure, arrival and segment reference, each in the time zone of its own stops, so the layover (or the stay in a port of call) shows as the gap between them. This needs a departure date and time on every leg; otherwise the booking stays one event.
- **Accommodations**: an all-day event covering every night of the stay, from the arrival day to the departure day, so the hotel sits above those days rather than showing up once on the day you check in. The dates come from the trip days the stay is attached to, so reordering days moves the event with them.
-- **Check-in and check-out**: separate timed events on the arrival and departure days whenever the stay has those times. If you entered a check-in window, its end becomes the event's end time.
-- **Car pickup and drop-off**: a booking of type *Car* also gets two timed events of its own, *Pickup: {title}* and *Drop-off: {title}*, next to the rental's own event, both with the booking's location. Each side prefers its own endpoint (the pickup point for the pickup, the return point for the drop-off) and takes that endpoint's local time and time zone. Otherwise it falls back to the booking's own times and to the time zone of the linked place. A side with no usable date and time from either source is left out, so a rental imported with only one located endpoint can end up with a single event.
+- **Check-in and check-out**: separate timed events on the arrival and departure days whenever the stay has those times. If you entered a check-in window, its end becomes the event's end time. Without one, the event lasts 60 minutes, because calendar apps collapse events of no length.
+- **Car pickup and drop-off**: when pickup and return fall on the same day, a booking of type *Car* gets two timed events of its own, *Pickup: {title}* and *Drop-off: {title}*, next to the rental's own event, both with the booking's location. When the two ends fall on different days, the rental's own block is replaced by the two hand-over events; they carry the booking's description and last 60 minutes each. *Parking* works the same way with the wording the other way round: *Drop-off* comes first and *Pickup* after. Each side prefers its own endpoint (the pickup point for the pickup, the return point for the drop-off) and takes that endpoint's local time and time zone. Otherwise it falls back to the booking's own times and to the time zone of the linked place. A side with no usable date and time from either source is left out, so a rental imported with only one located endpoint can end up with a single event.
Feeds are sent with headers that tell clients not to cache them, plus a hint to refresh every hour (`REFRESH-INTERVAL` and `X-PUBLISHED-TTL`). Most calendar apps treat that as a suggestion. Google in particular refreshes on its own schedule, often far less often, so an edit can take a while to show up there.