Show exploration days before/after each conference on trip page

For each conference, calculate the number of free days available
before and after, relative to the trip boundary or adjacent
conference. Multi-conference trips show the gap between conferences
as "after" the first and "before" the second.

Closes #189

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Edward Betts 2026-04-23 14:29:29 +01:00
parent 3ba18f9019
commit 54e898bc11
3 changed files with 44 additions and 0 deletions

View file

@ -1144,6 +1144,7 @@ def trip_page(start: str) -> str:
destination_times=get_destination_timezones(trip),
human_readable_delta=agenda.utils.human_readable_delta,
trip_weather=trip_weather,
conference_free_days=agenda.trip.conference_free_days(trip),
)