fix invalid news date
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
9dd399dff4
commit
85e2887ccb
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue