Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix relativeTimestamp function to get timestamp in ms
Sebastian Martinez committed 3 years ago
commit 9799695a1a97f66d6d8e01f041c0230ff54ff5ac
parent df57c15a3724221d8cfd6aee7e510fd449a90dc9
1 file changed +1 -1
modified 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;
</script>

<style>