From f5efac7b85d4894f2596044e1ded6389f1d50c42 Mon Sep 17 00:00:00 2001 From: jamiesensei Date: Mon, 26 Feb 2007 06:38:47 +0000 Subject: [PATCH] fixes (MDL-8449) Quiz start and close times should allow the teacher to select a time as well as a date. --- mod/quiz/mod_form.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/quiz/mod_form.php b/mod/quiz/mod_form.php index d13b52b022..3b0c78ac62 100644 --- a/mod/quiz/mod_form.php +++ b/mod/quiz/mod_form.php @@ -23,10 +23,10 @@ class mod_quiz_mod_form extends moodleform_mod { //------------------------------------------------------------------------------- $mform->addElement('header', 'timinghdr', get_string('timing', 'form')); - $mform->addElement('date_selector', 'timeopen', get_string("quizopen", "quiz"), array('optional'=>true)); + $mform->addElement('date_time_selector', 'timeopen', get_string("quizopen", "quiz"), array('optional'=>true)); $mform->setHelpButton('timeopen', array('timeopen', get_string('quizopens', 'quiz'), 'quiz')); - $mform->addElement('date_selector', 'timeclose', get_string("quizcloses", "quiz"), array('optional'=>true)); + $mform->addElement('date_time_selector', 'timeclose', get_string("quizcloses", "quiz"), array('optional'=>true)); $mform->setHelpButton('timeclose', array('timeopen', get_string('quizcloses', 'quiz'), 'quiz')); -- 2.39.5