From dc054826484ad810577570b5be81372409092b3d Mon Sep 17 00:00:00 2001 From: Angelika Schneider Date: Tue, 3 Dec 2024 13:24:10 +0100 Subject: [PATCH] Fix time error in graph properties --- src/lib/components/NodeDetail.svelte | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/src/lib/components/NodeDetail.svelte b/src/lib/components/NodeDetail.svelte index b19cefd..7a47314 100644 --- a/src/lib/components/NodeDetail.svelte +++ b/src/lib/components/NodeDetail.svelte @@ -152,16 +152,20 @@ {#if k == 'url'} {v} {:else if k == 'creationTime'} - + {#if !isNaN(v.valueOf())} + + {:else} + + {/if} {:else} {v} {/if}