fix time again

This commit is contained in:
Akis 2022-08-06 10:35:08 +03:00
parent c71663cefd
commit daf6dd9f4e
Signed by untrusted user: akis
GPG Key ID: 267BF5C6677944ED

View File

@ -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">