1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-20 13:29:37 +02:00

chore: Update date formatting in AdventureCard and CollectionCard components

This commit is contained in:
Sean Morley 2024-07-27 14:38:43 -04:00
parent c94a4379c7
commit 59a3a2d72a
3 changed files with 75 additions and 4 deletions

View file

@ -58,7 +58,7 @@
Duration: {Math.floor(
(new Date(collection.end_date).getTime() - new Date(collection.start_date).getTime()) /
(1000 * 60 * 60 * 24)
)}{' '}
) + 1}{' '}
days
</p>{/if}
<div class="card-actions justify-end">