fix: Use ISO date format
This commit is contained in:
parent
22787eceda
commit
2175e30325
|
@ -3,7 +3,7 @@
|
|||
export let metadata : { title: string, description: string, tags: [string], date: Date };
|
||||
|
||||
export let link: Option<string> = null;
|
||||
const date = metadata.date.toLocaleDateString();
|
||||
const date = metadata.date.toISOString().slice(0,-14);
|
||||
</script>
|
||||
|
||||
<div id="post-heading">
|
||||
|
|
Loading…
Reference in New Issue