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:
parent
c94a4379c7
commit
59a3a2d72a
3 changed files with 75 additions and 4 deletions
|
@ -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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue