forked from ProjectSegfault/website
fix time again
This commit is contained in:
parent
c71663cefd
commit
daf6dd9f4e
@ -20,10 +20,6 @@
|
||||
import IconTriangleExclamation from "~icons/fa6-solid/triangle-exclamation";
|
||||
|
||||
import dayjs from "dayjs";
|
||||
|
||||
const formattedTime = dayjs(announcements.created).format(
|
||||
"DD/MM/YYYY HH:mm"
|
||||
);
|
||||
</script>
|
||||
|
||||
<SvelteSeo title="Home" {description} />
|
||||
@ -53,7 +49,9 @@
|
||||
<IconTriangleExclamation />
|
||||
{/if}
|
||||
<span>
|
||||
{formattedTime}
|
||||
{dayjs.unix(announcements.created).format(
|
||||
"DD/MM/YYYY HH:mm"
|
||||
)}
|
||||
</span>
|
||||
</div>
|
||||
<div class="title">
|
||||
|
Loading…
Reference in New Issue
Block a user