diff --git a/components/ILIAS/Survey/Settings/class.SettingsFormGUI.php b/components/ILIAS/Survey/Settings/class.SettingsFormGUI.php index 43611c4f8cdb..41d921556038 100755 --- a/components/ILIAS/Survey/Settings/class.SettingsFormGUI.php +++ b/components/ILIAS/Survey/Settings/class.SettingsFormGUI.php @@ -344,7 +344,7 @@ public function withAccess( $startingtime = new \ilDateTimeInputGUI($lng->txt("start_date"), 'start_date'); $startingtime->setShowTime(true); if ($start) { - $startingtime->setDate(new \ilDate($start, IL_CAL_TIMESTAMP)); + $startingtime->setDate(new \ilDatetime($start, IL_CAL_TIMESTAMP)); } $form->addItem($startingtime); @@ -354,7 +354,7 @@ public function withAccess( $endingtime = new \ilDateTimeInputGUI($lng->txt("end_date"), 'end_date'); $endingtime->setShowTime(true); if ($end) { - $endingtime->setDate(new \ilDate($end, IL_CAL_TIMESTAMP)); + $endingtime->setDate(new \ilDatetime($end, IL_CAL_TIMESTAMP)); } $form->addItem($endingtime);