mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-22 22:39:36 +02:00
Fix validation in Lodging model to check check-in and check-out dates; update LodgingCard to conditionally display timezone
This commit is contained in:
parent
8538aa0b7c
commit
330fabb3e0
2 changed files with 5 additions and 3 deletions
|
@ -138,7 +138,9 @@
|
|||
<p>
|
||||
{formatDateInTimezone(lodging.check_in ?? '', lodging.timezone ?? undefined)} –
|
||||
{formatDateInTimezone(lodging.check_out ?? '', lodging.timezone ?? undefined)}
|
||||
<span class="text-xs opacity-60 ml-1">({lodging.timezone})</span>
|
||||
{#if lodging.timezone}
|
||||
<span class="text-xs opacity-60 ml-1">({lodging.timezone})</span>
|
||||
{/if}
|
||||
</p>
|
||||
</div>
|
||||
{/if}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue