mirror of
https://github.com/pesde-pkg/pesde.git
synced 2025-05-04 02:23:51 +01:00
fix(website): fix missing datetime attribute
This commit is contained in:
parent
a2f85da623
commit
172ba11443
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@
|
|||
</a>
|
||||
</h2>
|
||||
<div class="text-sm font-semibold" class:invisible={!displayDates}>
|
||||
<time>
|
||||
<time datetime={pkg.published_at}>
|
||||
{#if displayDates}
|
||||
{formatDistanceToNow(new Date(pkg.published_at), { addSuffix: true })}
|
||||
{:else}
|
||||
|
|
Loading…
Add table
Reference in a new issue