fix invalid news date
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
bain 2024-02-09 19:17:15 +01:00
parent 9dd399dff4
commit 85e2887ccb

View file

@ -33,8 +33,8 @@
<p x-text="post.text" class="mb-1"></p>
<time
class="text-gray-500 text-xs"
x-bind:datetime="post.creation_date"
x-text="new Date(post.creation_date).toLocaleString()"
x-bind:datetime="post.createdAt"
x-text="new Date(post.createdAt).toLocaleString()"
></time>
</article>
</li>