From 9799695a1a97f66d6d8e01f041c0230ff54ff5ac Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Tue, 18 Apr 2023 13:53:55 +0200 Subject: [PATCH] Fix relativeTimestamp function to get timestamp in ms Signed-off-by: Sebastian Martinez --- src/components/Authorship.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Authorship.svelte b/src/components/Authorship.svelte index 9a44f4712..e4c6f28aa 100644 --- a/src/components/Authorship.svelte +++ b/src/components/Authorship.svelte @@ -8,7 +8,7 @@ export let timestamp: number | undefined = undefined; const relativeTimestamp = (time: number | undefined) => - time ? new Date(time).toISOString() : undefined; + time ? new Date(time * 1000).toString() : undefined;