feat(lodging): add check-in and check-out labels and enhance date handling for lodging events

This commit is contained in:
Sean Morley
2025-06-18 22:21:34 -04:00
parent df24316837
commit 9964398e25
15 changed files with 93 additions and 68 deletions

View File

@@ -263,7 +263,9 @@
<label for="date" class="text-sm font-medium">
{type === 'transportation'
? $t('adventures.departure_date')
: $t('adventures.start_date')}
: type === 'lodging'
? $t('adventures.check_in')
: $t('adventures.start_date')}
</label>
{#if allDay}
@@ -295,7 +297,11 @@
{#if localStartDate}
<div class="space-y-2">
<label for="end_date" class="text-sm font-medium">
{type === 'transportation' ? $t('adventures.arrival_date') : $t('adventures.end_date')}
{type === 'transportation'
? $t('adventures.arrival_date')
: type === 'lodging'
? $t('adventures.check_out')
: $t('adventures.end_date')}
</label>
{#if allDay}