mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-24 23:39:37 +02:00
chore: Update time zone handling in code
This commit is contained in:
parent
4d193bc44d
commit
2b16712496
9 changed files with 18 additions and 15 deletions
|
@ -50,7 +50,7 @@
|
|||
</p>
|
||||
{/if}
|
||||
{#if transportation.date}
|
||||
{new Date(transportation.date).toLocaleString()}
|
||||
{new Date(transportation.date).toLocaleString(undefined, { timeZone: 'UTC' })}
|
||||
{/if}
|
||||
{#if user?.pk === transportation.user_id}
|
||||
<div class="card-actions justify-end">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue