From a3e7426b4c630c580d68abfec60b127f1449a155 Mon Sep 17 00:00:00 2001 From: Gisle Aune Date: Mon, 18 Jan 2021 19:18:57 +0100 Subject: [PATCH] fix individual task time progress starting from 1970. --- svelte-ui/src/pages/FrontPage.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/svelte-ui/src/pages/FrontPage.svelte b/svelte-ui/src/pages/FrontPage.svelte index 8d40d10..1f97d7f 100644 --- a/svelte-ui/src/pages/FrontPage.svelte +++ b/svelte-ui/src/pages/FrontPage.svelte @@ -52,6 +52,7 @@ } if (fakeProject.tasks.length > 0) { + fakeProject.createdTime = fakeProject.tasks.map(t => t.createdTime).sort()[0]; fakeProject.endTime = fakeProject.tasks[0].endTime; } }