From 746b2e7e0793be40614dfcaf73d78de3bb260c03 Mon Sep 17 00:00:00 2001 From: miko <34790748+keikari@users.noreply.github.com> Date: Wed, 1 Nov 2023 15:31:21 +0200 Subject: [PATCH] Set scheduled stream DateTimePicker minDate by the day instead of by the time (#3016) Co-authored-by: miko --- ui/component/publish/shared/publishStreamReleaseDate/view.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/component/publish/shared/publishStreamReleaseDate/view.jsx b/ui/component/publish/shared/publishStreamReleaseDate/view.jsx index 0d08818d79..8df00bce80 100644 --- a/ui/component/publish/shared/publishStreamReleaseDate/view.jsx +++ b/ui/component/publish/shared/publishStreamReleaseDate/view.jsx @@ -96,7 +96,7 @@ const PublishStreamReleaseDate = (props: Props) => { format={clock24h ? 'y-MM-dd HH:mm' : 'y-MM-dd h:mm a'} disableClock clearIcon={null} - minDate={moment().add('30', 'minutes').toDate()} + minDate={moment().startOf('day').toDate()} /> )}