diff --git a/src/lib/components/PostHeader.svelte b/src/lib/components/PostHeader.svelte index 5546dcc..f8d78ce 100644 --- a/src/lib/components/PostHeader.svelte +++ b/src/lib/components/PostHeader.svelte @@ -3,7 +3,7 @@ export let metadata : { title: string, description: string, tags: [string], date: Date }; export let link: Option = null; - const date = metadata.date.toLocaleDateString(); + const date = metadata.date.toISOString().slice(0,-14);