diff --git a/frontend/src/routes/collections/[id]/+page.svelte b/frontend/src/routes/collections/[id]/+page.svelte index e3813a7..0efe833 100644 --- a/frontend/src/routes/collections/[id]/+page.svelte +++ b/frontend/src/routes/collections/[id]/+page.svelte @@ -220,7 +220,7 @@ {/if} -
Duration: {numberOfDays} days
- {/if} {#if collection.start_date && collection.end_date} +Duration: {numberOfDays} days
+ {/if}Dates: {new Date(collection.start_date).toLocaleDateString('en-US', { timeZone: 'UTC' })} - {new Date( collection.end_date ).toLocaleDateString('en-US', { timeZone: 'UTC' })}
+ {#each Array(numberOfDays) as _, i} {@const currentDate = new Date(collection.start_date)}