diff --git a/src/bundle/Resources/public/js/scripts/core/date.time.picker.js b/src/bundle/Resources/public/js/scripts/core/date.time.picker.js index 7e1719209b..b60b39d420 100644 --- a/src/bundle/Resources/public/js/scripts/core/date.time.picker.js +++ b/src/bundle/Resources/public/js/scripts/core/date.time.picker.js @@ -94,7 +94,7 @@ class DateTimePicker { flatpickrDate.setHours(value); } - if (this.flatpickrConfig.minDate?.getTime() > flatpickrDate.getTime()) { + if (this.flatpickrConfig.minDate.getTime() > flatpickrDate.getTime()) { return; }