1
0
Fork 0
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:
Sean Morley 2025-05-10 13:17:01 -04:00
parent 8538aa0b7c
commit 330fabb3e0
2 changed files with 5 additions and 3 deletions

View file

@ -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}