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 IconTriangleExclamation from "~icons/fa6-solid/triangle-exclamation";
|
||||||
|
|
||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
|
|
||||||
const formattedTime = dayjs(announcements.created).format(
|
|
||||||
"DD/MM/YYYY HH:mm"
|
|
||||||
);
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<SvelteSeo title="Home" {description} />
|
<SvelteSeo title="Home" {description} />
|
||||||
@ -53,7 +49,9 @@
|
|||||||
<IconTriangleExclamation />
|
<IconTriangleExclamation />
|
||||||
{/if}
|
{/if}
|
||||||
<span>
|
<span>
|
||||||
{formattedTime}
|
{dayjs.unix(announcements.created).format(
|
||||||
|
"DD/MM/YYYY HH:mm"
|
||||||
|
)}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="title">
|
<div class="title">
|
||||||
|
Loading…
Reference in New Issue
Block a user