{collection.adventures.length}
{$t('navbar.adventures')}
{#if collection.start_date && collection.end_date}
{$t('adventures.dates')}:
{new Date(collection.start_date).toLocaleDateString(undefined, { timeZone: 'UTC' })} –
{new Date(collection.end_date).toLocaleDateString(undefined, { timeZone: 'UTC' })}
{$t('adventures.duration')}: {Math.floor(
(new Date(collection.end_date).getTime() - new Date(collection.start_date).getTime()) /
(1000 * 60 * 60 * 24)
) + 1} days
{/if}
{#if type == 'link'}
{:else}
{#if type != 'viewonly'}
-
-
{#if collection.is_archived}
-
{:else}
-
{/if}
-
{/if}
{#if type == 'viewonly'}
-
{/if}
{/if}