Skip to content

Commit

Permalink
41744: Settings - Administering the survey: Access Time not saved cor…
Browse files Browse the repository at this point in the history
…rectly
  • Loading branch information
alex40724 committed Nov 15, 2024
1 parent c4c96ad commit 5b5253f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/ILIAS/Survey/Settings/class.SettingsFormGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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);

Expand Down

0 comments on commit 5b5253f

Please sign in to comment.