{#if isWarningModalOpen} (isWarningModalOpen = false)} on:confirm={deleteTransportation} /> {/if} {lodging.name} {lodging.type} {#if unlinked} {$t('adventures.out_of_range')} {/if} {#if lodging.location} {$t('adventures.from')}: {lodging.location} {/if} {#if lodging.check_in && lodging.check_out} {$t('adventures.start')}: {new Date(lodging.check_in).toLocaleDateString(undefined, { timeZone: 'UTC' })} {/if} {#if lodging.location} {$t('adventures.to')}: {lodging.location} {/if} {#if lodging.check_out} {$t('adventures.end')}: {new Date(lodging.check_out).toLocaleDateString(undefined, { timeZone: 'UTC' })} {/if} {#if lodging.user_id == user?.uuid || (collection && user && collection.shared_with && collection.shared_with.includes(user.uuid))} {$t('transportation.edit')} (isWarningModalOpen = true)} class="btn btn-secondary btn-sm flex items-center gap-1" title="Delete" > {$t('adventures.delete')} {/if}
{lodging.location}
{new Date(lodging.check_in).toLocaleDateString(undefined, { timeZone: 'UTC' })}
{new Date(lodging.check_out).toLocaleDateString(undefined, { timeZone: 'UTC' })}