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:
parent
3ba18f9019
commit
54e898bc11
3 changed files with 44 additions and 0 deletions
|
|
@ -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),
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue