From a319eda096be77b5bc62198dd72e029e32e78d9d Mon Sep 17 00:00:00 2001 From: Jason Efstathiou Date: Thu, 2 May 2024 11:39:05 +0200 Subject: [PATCH] fix: possible to schedule stream in the past (#1072) --- src/lib/flows/create-stream-flow/input-details.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/flows/create-stream-flow/input-details.svelte b/src/lib/flows/create-stream-flow/input-details.svelte index 84c50b3b3..b08b9a174 100644 --- a/src/lib/flows/create-stream-flow/input-details.svelte +++ b/src/lib/flows/create-stream-flow/input-details.svelte @@ -192,6 +192,7 @@ !setStartAndEndDate || (combinedStartDate && combinedEndDate && + combinedStartDate.getTime() > new Date().getTime() && combinedStartDate?.getTime() < combinedEndDate?.getTime()); $: formValid =